Firewall - categories - check state before select (#5538)

Dont select disabled checkboxes
This commit is contained in:
kulikov-a 2022-02-03 17:23:07 +03:00 committed by GitHub
parent fc51b1541a
commit d387c59f5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -263,7 +263,7 @@ $( document ).ready(function() {
// select All
$("#selectAll").click(function(){
$(".rule_select").prop("checked", $(this).prop("checked"));
$(".rule_select:not(:disabled)").prop("checked", $(this).prop("checked"));
});
// move category block

View File

@ -211,7 +211,7 @@ include("head.inc");
});
// select All
$("#selectAll").click(function(){
$(".rule_select").prop("checked", $(this).prop("checked"));
$(".rule_select:not(:disabled)").prop("checked", $(this).prop("checked"));
});
// watch scroll position and set to last known on page load

View File

@ -161,7 +161,7 @@ include("head.inc");
// select All
$("#selectAll").click(function(){
$(".rule_select").prop("checked", $(this).prop("checked"));
$(".rule_select:not(:disabled)").prop("checked", $(this).prop("checked"));
});
// move category block

View File

@ -228,7 +228,7 @@ include("head.inc");
// select All
$("#selectAll").click(function(){
$(".rule_select").prop("checked", $(this).prop("checked"));
$(".rule_select:not(:disabled)").prop("checked", $(this).prop("checked"));
});
// watch scroll position and set to last known on page load

View File

@ -492,7 +492,7 @@ $( document ).ready(function() {
// select All
$("#selectAll").click(function(){
$(".rule_select").prop("checked", $(this).prop("checked"));
$(".rule_select:not(:disabled)").prop("checked", $(this).prop("checked"));
});
// move category block