We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents efc8c9e + fa2b6fc commit a1027bfCopy full SHA for a1027bf
1 file changed
lib/mv.js
@@ -321,6 +321,12 @@ var mv = (function () {
321
$("#frm-bl").append(html);
322
$("#frm-bl-visible").append(html2);
323
$(".bl." + classe + " input").bind("change", function (e) {
324
+ var checkbox = $(e.currentTarget);
325
+ var allChecked = $(".bl." + classe + " input:checked");
326
+ if (!checkbox.prop("checked") && allChecked.length === 0) {
327
+ checkbox.prop("checked", true);
328
+ return;
329
+ }
330
var id = $(this).parent().parent().attr("data-layerid");
331
var value = $(e.currentTarget).prop("checked");
332
var select = $("#frm-bl-visible");
0 commit comments