Add ability to set super seeding mode for torrents

This commit is contained in:
buinsky 2015-01-30 15:58:27 -05:00
parent 28f573e9a8
commit facab1681a
7 changed files with 49 additions and 0 deletions

View file

@ -166,6 +166,21 @@ initializeWindows = function() {
}
};
setSuperSeedingFN = function(val) {
var h = myTable.selectedIds();
if (h.length) {
new Request({
url: 'command/setSuperSeeding',
method: 'post',
data: {
value: val,
hashes: h.join("|")
}
}).send();
updateMainData();
}
};
globalDownloadLimitFN = function() {
new MochaUI.Window({
id: 'downloadLimitPage',