mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-09 09:58:39 +00:00
fix the change event on the spinner group
This commit is contained in:
parent
b1cf238489
commit
545e4ef717
1 changed files with 2 additions and 2 deletions
|
@ -153,7 +153,7 @@ Ext.ux.form.SpinnerGroup = Ext.extend(Ext.form.CheckboxGroup, {
|
||||||
this.items.addAll(fields);
|
this.items.addAll(fields);
|
||||||
|
|
||||||
this.items.each(function(field) {
|
this.items.each(function(field) {
|
||||||
field.on('change', this.onFieldChange, this);
|
field.on('spin', this.onFieldChange, this);
|
||||||
}, this);
|
}, this);
|
||||||
|
|
||||||
if (this.lazyValueSet) {
|
if (this.lazyValueSet) {
|
||||||
|
@ -172,7 +172,7 @@ Ext.ux.form.SpinnerGroup = Ext.extend(Ext.form.CheckboxGroup, {
|
||||||
Ext.ux.form.SpinnerGroup.superclass.onRender.call(this, ct, position);
|
Ext.ux.form.SpinnerGroup.superclass.onRender.call(this, ct, position);
|
||||||
},
|
},
|
||||||
|
|
||||||
onFieldChange: function(spinner, value) {
|
onFieldChange: function(spinner) {
|
||||||
this.fireEvent('change', this, this.getValue());
|
this.fireEvent('change', this, this.getValue());
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue