fire the same args as the OptionsManager changed event

This commit is contained in:
Damien Churchill 2010-04-28 00:48:37 +01:00
parent 31304d3397
commit 91f44c2ad3
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}
}