Fixed #31 - added notification after bulk action is executed.

This commit is contained in:
Martin Edenhofer 2013-01-05 00:28:19 +01:00
parent 74edcfd202
commit 383b995b1f
2 changed files with 6 additions and 2 deletions

View file

@ -316,11 +316,15 @@ class Index extends App.Controller
# rebuild navbar with updated ticket count of overviews
App.WebSocket.send( event: 'navupdate_ticket_overview' )
# fetch overview data again
@fetch()
)
)
App.Event.trigger 'notify', {
type: 'success',
msg: App.i18n.translateContent('Bulk-Action executed!'),
}
zoom: (e) =>
e.preventDefault()

View file

@ -1880,6 +1880,6 @@ Translation.create_if_not_exists( :locale => 'de', :source => "Outbound", :targe
Translation.create_if_not_exists( :locale => 'de', :source => "Adresses", :target => "Adressen", :updated_by_id => 1, :created_by_id => 1 )
Translation.create_if_not_exists( :locale => 'de', :source => "Signatures", :target => "Signatur", :updated_by_id => 1, :created_by_id => 1 )
Translation.create_if_not_exists( :locale => 'de', :source => "Filter", :target => "Filter", :updated_by_id => 1, :created_by_id => 1 )
Translation.create_if_not_exists( :locale => 'de', :source => "Bulk-Action executed!", :target => "Sammelaktion ausgeführt!", :updated_by_id => 1, :created_by_id => 1 )
#Translation.create_if_not_exists( :locale => 'de', :source => "", :target => "", :updated_by_id => 1, :created_by_id => 1 )