From 13c57b69de3825cb7755f548a417dbd993f90bfb Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 11 Aug 2013 22:03:39 +0200 Subject: fixed account removing --- pyload/web/app/scripts/models/Account.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyload/web/app/scripts/models') diff --git a/pyload/web/app/scripts/models/Account.js b/pyload/web/app/scripts/models/Account.js index e2cc4f9ec..d98d3374f 100644 --- a/pyload/web/app/scripts/models/Account.js +++ b/pyload/web/app/scripts/models/Account.js @@ -51,7 +51,7 @@ define(['jquery', 'backbone', 'underscore', 'app', 'utils/apitypes'], function($ var options = App.apiRequest('updateAccountInfo', {account: this.toJSON()}, { success: function() { _.delay(function() { - App.vent.trigger('accounts:updated'); + App.vent.trigger('account:updated'); }, 1000); } }); -- cgit v1.2.3