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 (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…
Reference in New Issue