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:
Damien Churchill 2009-07-29 16:16:03 +00:00
parent ee16bffbbd
commit abb05829dc
2 changed files with 6 additions and 2 deletions

View File

@ -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();
}
});
}
}*/
}

View File

@ -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);
}
});