mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
fire the same args as the OptionsManager changed event
This commit is contained in:
parent
31304d3397
commit
91f44c2ad3
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue