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) {
|
function onLimitChanged(item, checked) {
|
||||||
if (item.id == "other") {
|
/*if (item.id == "other") {
|
||||||
} else {
|
} else {
|
||||||
config = {}
|
config = {}
|
||||||
config[item.group] = item.id
|
config[item.group] = item.id
|
||||||
@ -423,5 +423,5 @@ function onLimitChanged(item, checked) {
|
|||||||
Deluge.UI.update();
|
Deluge.UI.update();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
@ -260,6 +260,7 @@ Ext.extend(Ext.ux.form.Spinner, Ext.form.TriggerField, {
|
|||||||
}
|
}
|
||||||
this.fireEvent("spin", this);
|
this.fireEvent("spin", this);
|
||||||
this.fireEvent("spinup", this);
|
this.fireEvent("spinup", this);
|
||||||
|
this.fireEvent("change", this);
|
||||||
},
|
},
|
||||||
|
|
||||||
//private
|
//private
|
||||||
@ -275,6 +276,7 @@ Ext.extend(Ext.ux.form.Spinner, Ext.form.TriggerField, {
|
|||||||
}
|
}
|
||||||
this.fireEvent("spin", this);
|
this.fireEvent("spin", this);
|
||||||
this.fireEvent("spindown", this);
|
this.fireEvent("spindown", this);
|
||||||
|
this.fireEvent("change", this);
|
||||||
},
|
},
|
||||||
|
|
||||||
//private
|
//private
|
||||||
@ -285,6 +287,7 @@ Ext.extend(Ext.ux.form.Spinner, Ext.form.TriggerField, {
|
|||||||
this.strategy.onSpinUpAlternate(this);
|
this.strategy.onSpinUpAlternate(this);
|
||||||
this.fireEvent("spin", this);
|
this.fireEvent("spin", this);
|
||||||
this.fireEvent("spinup", this);
|
this.fireEvent("spinup", this);
|
||||||
|
this.fireEvent("change", this);
|
||||||
},
|
},
|
||||||
|
|
||||||
//private
|
//private
|
||||||
@ -295,6 +298,7 @@ Ext.extend(Ext.ux.form.Spinner, Ext.form.TriggerField, {
|
|||||||
this.strategy.onSpinDownAlternate(this);
|
this.strategy.onSpinDownAlternate(this);
|
||||||
this.fireEvent("spin", this);
|
this.fireEvent("spin", this);
|
||||||
this.fireEvent("spindown", this);
|
this.fireEvent("spindown", this);
|
||||||
|
this.fireEvent("change", this);
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user