Fix speed limit sliders initialization in Web UI

This commit is contained in:
Christophe Dumez 2010-08-15 07:39:36 +00:00
parent 9b0dd39d9d
commit bf4f1a7c37

View file

@ -30,6 +30,8 @@ MochaUI.extend({
var tmp = data.toInt();
if(tmp > 0) {
maximum = tmp / 1024.
} else {
maximum = 0
}
}
// Get torrent upload limit
@ -115,6 +117,8 @@ MochaUI.extend({
var tmp = data.toInt();
if(tmp > 0) {
maximum = tmp / 1024.
} else {
maximum = 0
}
}
// Get torrent download limit