Commit 42f23819 authored by Oscaner Miao's avatar Oscaner Miao Committed by dgaspara
Browse files

Issue #3253225 by Oscaner: No check for disabled input

parent 5862b709
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -19,7 +19,9 @@
    var theFormId = theElement.target.id;
    var selectorId = theFormId.replace('multiple_select', 'edit').replace(/\_/g, '-');
    $('input[type="checkbox"][data-drupal-selector^="' + selectorId + '-"]').each(function () {
      if (!$(this).is(':disabled')) {
        this.checked = $('#' + theFormId).is(':checked');
      }
    });
  }