keep flash messages for 10sec

This commit is contained in:
Sven Fuchs 2012-10-09 16:15:18 +02:00
parent 927c8de8b0
commit 67aacb7baa
4 changed files with 6 additions and 5 deletions

View File

@ -3,5 +3,6 @@ Travis.FlashController = Ember.ArrayController.extend
@_super.apply this, arguments
@set('content', Ember.A())
pushObjects: (objects) ->
Ember.run.later(this, (-> @removeObjects(objects)), 10000)
@_super(objects)

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
8e04cf34
010a68d3