mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-14 05:26:28 +00:00
disable setting bandwidth limits via the statusbar for the time being
make the uxpsinner fire the change event when they spin
This commit is contained in:
parent
ee16bffbbd
commit
abb05829dc
@ -414,7 +414,7 @@ Deluge.Menus.FilePriorities = new Ext.menu.Menu({
|
||||
});
|
||||
|
||||
function onLimitChanged(item, checked) {
|
||||
if (item.id == "other") {
|
||||
/*if (item.id == "other") {
|
||||
} else {
|
||||
config = {}
|
||||
config[item.group] = item.id
|
||||
@ -423,5 +423,5 @@ function onLimitChanged(item, checked) {
|
||||
Deluge.UI.update();
|
||||
}
|
||||
});
|
||||
}
|
||||
}*/
|
||||
}
|
@ -260,6 +260,7 @@ Ext.extend(Ext.ux.form.Spinner, Ext.form.TriggerField, {
|
||||
}
|
||||
this.fireEvent("spin", this);
|
||||
this.fireEvent("spinup", this);
|
||||
this.fireEvent("change", this);
|
||||
},
|
||||
|
||||
//private
|
||||
@ -275,6 +276,7 @@ Ext.extend(Ext.ux.form.Spinner, Ext.form.TriggerField, {
|
||||
}
|
||||
this.fireEvent("spin", this);
|
||||
this.fireEvent("spindown", this);
|
||||
this.fireEvent("change", this);
|
||||
},
|
||||
|
||||
//private
|
||||
@ -285,6 +287,7 @@ Ext.extend(Ext.ux.form.Spinner, Ext.form.TriggerField, {
|
||||
this.strategy.onSpinUpAlternate(this);
|
||||
this.fireEvent("spin", this);
|
||||
this.fireEvent("spinup", this);
|
||||
this.fireEvent("change", this);
|
||||
},
|
||||
|
||||
//private
|
||||
@ -295,6 +298,7 @@ Ext.extend(Ext.ux.form.Spinner, Ext.form.TriggerField, {
|
||||
this.strategy.onSpinDownAlternate(this);
|
||||
this.fireEvent("spin", this);
|
||||
this.fireEvent("spindown", this);
|
||||
this.fireEvent("change", this);
|
||||
}
|
||||
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user