keep flash messages for 10sec
This commit is contained in:
parent
927c8de8b0
commit
67aacb7baa
|
@ -3,5 +3,6 @@ Travis.FlashController = Ember.ArrayController.extend
|
||||||
@_super.apply this, arguments
|
@_super.apply this, arguments
|
||||||
@set('content', Ember.A())
|
@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
|
@ -1 +1 @@
|
||||||
8e04cf34
|
010a68d3
|
Loading…
Reference in New Issue
Block a user