mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-08 09:28:41 +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 (defaultValue == value) {
|
||||||
if (this.isDirty(option)) delete this.changed[this.currentId][option];
|
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;
|
return;
|
||||||
} else {
|
} else {
|
||||||
this.changed[this.currentId][option] = value;
|
this.changed[this.currentId][option] = value;
|
||||||
this.fireEvent('changed', this.currentId, option, value, oldValue);
|
this.fireEvent('changed', option, value, oldValue);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue