summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-04-08 22:33:00 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-04-08 22:33:00 +0200
commit4c17bce22ed1abce0732ffcfe5b7145c5189a937 (patch)
tree2feaf5c719b453d29660f59a03a5d36e6f08acc8
parenta3c78541d7dd72c143e7997a9e5978a7ff6ce10e (diff)
fix undo notification
-rw-r--r--js/app/services/businesslayer/feedbusinesslayer.coffee2
-rw-r--r--js/public/app.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/js/app/services/businesslayer/feedbusinesslayer.coffee b/js/app/services/businesslayer/feedbusinesslayer.coffee
index 3b87c1d9e..713ce2657 100644
--- a/js/app/services/businesslayer/feedbusinesslayer.coffee
+++ b/js/app/services/businesslayer/feedbusinesslayer.coffee
@@ -58,7 +58,7 @@ FeedModel, NewLoading, _ExistsError, Utils, $rootScope, NewestItem)->
data =
undoCallback: =>
- @_persistence.restoreFeed feedId, ->
+ @_persistence.restoreFeed feedId, =>
@_persistence.getAllFeeds()
caption: feed.title
diff --git a/js/public/app.js b/js/public/app.js
index 7b80f1efd..d58acba2a 100644
--- a/js/public/app.js
+++ b/js/public/app.js
@@ -1471,7 +1471,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
data = {
undoCallback: function() {
return _this._persistence.restoreFeed(feedId, function() {
- return this._persistence.getAllFeeds();
+ return _this._persistence.getAllFeeds();
});
},
caption: feed.title