From 7c0590f39970a9875ff53a91a9c78052c26e7e72 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Tue, 11 Aug 2009 23:14:38 +0000 Subject: [PATCH] fix a bug when firing the error event --- deluge/ui/web/js/Deluge.Client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/web/js/Deluge.Client.js b/deluge/ui/web/js/Deluge.Client.js index 7edae1554..bea208e21 100644 --- a/deluge/ui/web/js/Deluge.Client.js +++ b/deluge/ui/web/js/Deluge.Client.js @@ -111,7 +111,7 @@ Ext.namespace('Ext.ux.util'); } else { options.failure(errorObj, response, requestOptions); } - this.fireEvent('error', responseObj, response, requestOptions) + this.fireEvent('error', errorObj, response, requestOptions) }, _onSuccess: function(response, requestOptions) {