diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-08-11 22:03:39 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-08-11 22:03:39 +0200 |
commit | 13c57b69de3825cb7755f548a417dbd993f90bfb (patch) | |
tree | efcd23ee3d739372aad190ced846c5e9e7eff2e0 /pyload/web/app/scripts/views/accounts/accountModal.js | |
parent | improved account list (diff) | |
download | pyload-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.js | 4 |
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(); }})); } |