mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
Scope Select All checkbox to fields on left side of page
This commit is contained in:
parent
b51c505d9e
commit
8e0b718a4a
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue