summaryrefslogtreecommitdiffstats
path: root/pyload/web/app/scripts/views/accounts/accountModal.js
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-08-11 22:03:39 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-08-11 22:03:39 +0200
commit13c57b69de3825cb7755f548a417dbd993f90bfb (patch)
treeefcd23ee3d739372aad190ced846c5e9e7eff2e0 /pyload/web/app/scripts/views/accounts/accountModal.js
parentimproved account list (diff)
downloadpyload-13c57b69de3825cb7755f548a417dbd993f90bfb.tar.xz
fixed account removing
Diffstat (limited to 'pyload/web/app/scripts/views/accounts/accountModal.js')
-rw-r--r--pyload/web/app/scripts/views/accounts/accountModal.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/web/app/scripts/views/accounts/accountModal.js b/pyload/web/app/scripts/views/accounts/accountModal.js
index 85db96b2b..31e05dff6 100644
--- a/pyload/web/app/scripts/views/accounts/accountModal.js
+++ b/pyload/web/app/scripts/views/accounts/accountModal.js
@@ -61,8 +61,8 @@ define(['jquery', 'underscore', 'app', 'views/abstract/modalView', 'hbs!tpl/dial
$.ajax(App.apiRequest('updateAccount', {
plugin: plugin, loginname: login, password: password
- }, { success: function() {
- App.vent.trigger('accounts:updated');
+ }, { success: function(data) {
+ App.vent.trigger('account:updated', data);
self.hide();
}}));
}