(trunk) #1950: Add off-peak hour bandwidth limiting to libtransmission, rpc

This commit is contained in:
Charles Kerr
2009-03-25 19:18:00 +00:00
parent 5df2570fdf
commit b1fc4ed8c4
12 changed files with 376 additions and 157 deletions

View File

@@ -723,8 +723,8 @@ Transmission.prototype =
var up_limit = prefs[RPC._UpSpeedLimit];
var up_limited = prefs[RPC._UpSpeedLimited];
$('div.download_location input')[0].value = prefs['download-dir'];
$('div.port input')[0].value = prefs['port'];
$('div.download_location input')[0].value = prefs[RPC._DownloadDir];
$('div.port input')[0].value = prefs[RPC._PeerPort];
$('div.auto_start input')[0].checked = prefs[Prefs._AutoStart];
$('input#limit_download')[0].checked = down_limited == 1;
$('input#download_rate')[0].value = down_limit;