mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-10 23:42:46 -07:00
Allow to add root folder to torrent content
This commit is contained in:
parent
d4a51979bb
commit
1d5dc283fe
30 changed files with 452 additions and 172 deletions
|
@ -82,6 +82,16 @@ window.qBittorrent.Download = (function() {
|
|||
else {
|
||||
$('autoTMM').selectedIndex = 0;
|
||||
}
|
||||
|
||||
if (pref.torrent_content_layout === "Subfolder") {
|
||||
$('contentLayout').selectedIndex = 1;
|
||||
}
|
||||
else if (pref.torrent_content_layout === "NoSubfolder") {
|
||||
$('contentLayout').selectedIndex = 2;
|
||||
}
|
||||
else {
|
||||
$('contentLayout').selectedIndex = 0;
|
||||
}
|
||||
}
|
||||
}).send();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue