Scope Select All checkbox to fields on left side of page

This commit is contained in:
Marcus Moore 2024-09-17 16:00:32 -07:00
parent b51c505d9e
commit 8e0b718a4a
No known key found for this signature in database

View file

@ -65,7 +65,7 @@
<div class="box-body"> <div class="box-body">
<div class="col-md-4"> <div class="col-md-4" id="included_fields_wrapper">
<label class="form-control"> <label class="form-control">
<input type="checkbox" id="checkAll" checked="checked"> <input type="checkbox" id="checkAll" checked="checked">
@ -650,7 +650,7 @@
}); });
$("#checkAll").change(function () { $("#checkAll").change(function () {
$("input:checkbox").prop('checked', $(this).prop("checked")); $("#included_fields_wrapper input:checkbox").prop('checked', $(this).prop("checked"));
}); });
$("#savetemplateform").submit(function(e) { $("#savetemplateform").submit(function(e) {