From 91f44c2ad3e062acdcf79f54569108317a2ff6dc Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Wed, 28 Apr 2010 00:48:37 +0100 Subject: [PATCH] fire the same args as the OptionsManager changed event --- deluge/ui/web/js/deluge-all/MultiOptionsManager.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deluge/ui/web/js/deluge-all/MultiOptionsManager.js b/deluge/ui/web/js/deluge-all/MultiOptionsManager.js index 79ff9166b..c7d099eef 100644 --- a/deluge/ui/web/js/deluge-all/MultiOptionsManager.js +++ b/deluge/ui/web/js/deluge-all/MultiOptionsManager.js @@ -203,11 +203,11 @@ Deluge.MultiOptionsManager = Ext.extend(Deluge.OptionsManager, { if (defaultValue == value) { if (this.isDirty(option)) delete this.changed[this.currentId][option]; - this.fireEvent('changed', this.currentId, option, value, oldValue); + this.fireEvent('changed', option, value, oldValue); return; } else { this.changed[this.currentId][option] = value; - this.fireEvent('changed', this.currentId, option, value, oldValue); + this.fireEvent('changed', option, value, oldValue); } } }