summaryrefslogtreecommitdiffstats
path: root/js/app/services/undoqueue.coffee
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-05-10 13:30:00 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-05-10 13:30:00 +0200
commit347000cc2d5597c1971942ebdbe97461c9fa5802 (patch)
tree8a2f6dc166ad871c646b4cf8bf13f4a9fcd02e55 /js/app/services/undoqueue.coffee
parentc487bfe23312a5b266d8eb21a3825ab791a1c3e8 (diff)
use a deleted flag for deleted feeds to handle undo
Diffstat (limited to 'js/app/services/undoqueue.coffee')
-rw-r--r--js/app/services/undoqueue.coffee4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/app/services/undoqueue.coffee b/js/app/services/undoqueue.coffee
index 93f6fb577..631013d13 100644
--- a/js/app/services/undoqueue.coffee
+++ b/js/app/services/undoqueue.coffee
@@ -44,7 +44,7 @@ angular.module('News').factory 'UndoQueue',
an command has been canceled. Usually this will add back a deleted
object back to the interface, defaults to an empty function
###
- @_executeAll()
+ @executeAll()
command =
_undoCallback: @_undoCallback or= ->
@@ -70,7 +70,7 @@ angular.module('News').factory 'UndoQueue',
@_queue.push(command)
- _executeAll: ->
+ executeAll: ->
###
Executes the callback before the timeout has run out
This is useful to execute all remaining commands if a new command is