diff options
author | moisseev <moiseev@mezonplus.ru> | 2024-03-16 14:08:56 +0300 |
---|---|---|
committer | moisseev <moiseev@mezonplus.ru> | 2024-03-16 14:08:56 +0300 |
commit | 02b82858aa48ba25fb9db236e167c9c757e87e2b (patch) | |
tree | ec7e02ad7035c6dd464da2b4ee518ad22ea77279 /interface/js/app/upload.js | |
parent | ef35949188cf28e063eca4853b7152a06a585ec2 (diff) | |
download | rspamd-02b82858aa48ba25fb9db236e167c9c757e87e2b.tar.gz rspamd-02b82858aa48ba25fb9db236e167c9c757e87e2b.zip |
[WebUI] Add column display mode settings
for Scan and History tables
Diffstat (limited to 'interface/js/app/upload.js')
-rw-r--r-- | interface/js/app/upload.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/interface/js/app/upload.js b/interface/js/app/upload.js index c464ef30f..5f330002b 100644 --- a/interface/js/app/upload.js +++ b/interface/js/app/upload.js @@ -76,7 +76,7 @@ define(["jquery", "app/common", "app/libft"], } function enable_disable_scan_btn(disable) { - $("#scan button:not(#cleanScanHistory, #scanOptionsToggle)") + $("#scan button:not(#cleanScanHistory, #scanOptionsToggle, .ft-columns-btn)") .prop("disabled", (disable || $.trim($("textarea").val()).length === 0)); } @@ -128,7 +128,8 @@ define(["jquery", "app/common", "app/libft"], }, ++filesIdx); } else { enable_disable_scan_btn(); - $("#cleanScanHistory").removeAttr("disabled"); + $("#cleanScanHistory, #scan .ft-columns-dropdown .btn-dropdown-apply") + .removeAttr("disabled"); $("html, body").animate({ scrollTop: $("#scanResult").offset().top }, 1000); |