mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-27 02:20:32 +00:00
fire the same args as the OptionsManager changed event
This commit is contained in:
parent
31304d3397
commit
91f44c2ad3
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user