mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 02:27:09 -07:00
Merge pull request #9710 from Piccirello/webui-autotmm-context-bug
Fix WebUI Auto TMM context menu bug
This commit is contained in:
commit
1c3112e402
1 changed files with 5 additions and 2 deletions
|
@ -345,10 +345,13 @@ var TorrentsTableContextMenu = new Class({
|
|||
else if (!there_are_paused && !there_are_force_start)
|
||||
this.hideItem('Start');
|
||||
|
||||
if (!all_are_auto_tmm && there_are_auto_tmm)
|
||||
if (!all_are_auto_tmm && there_are_auto_tmm) {
|
||||
this.hideItem('AutoTorrentManagement');
|
||||
else
|
||||
}
|
||||
else {
|
||||
this.showItem('AutoTorrentManagement');
|
||||
this.setItemChecked('AutoTorrentManagement', all_are_auto_tmm);
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue