Browse Source

Merge pull request #9710 from Piccirello/webui-autotmm-context-bug

Fix WebUI Auto TMM context menu bug
adaptive-webui-19844
Mike Tzou 6 years ago committed by GitHub
parent
commit
1c3112e402
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      src/webui/www/private/scripts/contextmenu.js

7
src/webui/www/private/scripts/contextmenu.js

@ -345,10 +345,13 @@ var TorrentsTableContextMenu = new Class({ @@ -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…
Cancel
Save