Browse Source

Fixing setting speed limit of torrent in WEBUI

Fixing setting speed limit of torrent in WEBUI when global speed limit
is not set.
adaptive-webui-19844
buinsky 10 years ago
parent
commit
5cc90844a5
  1. 4
      src/webui/www/public/scripts/parametrics.js

4
src/webui/www/public/scripts/parametrics.js

@ -31,7 +31,7 @@ MochaUI.extend({ @@ -31,7 +31,7 @@ MochaUI.extend({
if(tmp > 0) {
maximum = tmp / 1024.
} else {
maximum = 0
maximum = 1000
}
}
// Get torrent upload limit
@ -118,7 +118,7 @@ MochaUI.extend({ @@ -118,7 +118,7 @@ MochaUI.extend({
if(tmp > 0) {
maximum = tmp / 1024.
} else {
maximum = 0
maximum = 1000
}
}
// Get torrent download limit

Loading…
Cancel
Save