mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
WebUI: Implement 'Force Start' feature.
This commit is contained in:
parent
2c5edf8652
commit
b5b40abb56
7 changed files with 43 additions and 0 deletions
|
@ -181,6 +181,21 @@ initializeWindows = function() {
|
|||
}
|
||||
};
|
||||
|
||||
setForceStartFN = function(val) {
|
||||
var h = myTable.selectedIds();
|
||||
if (h.length) {
|
||||
new Request({
|
||||
url: 'command/setForceStart',
|
||||
method: 'post',
|
||||
data: {
|
||||
value: val,
|
||||
hashes: h.join("|")
|
||||
}
|
||||
}).send();
|
||||
updateMainData();
|
||||
}
|
||||
};
|
||||
|
||||
globalDownloadLimitFN = function() {
|
||||
new MochaUI.Window({
|
||||
id: 'downloadLimitPage',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue