Commit 1673ef65 authored by damiankloip's avatar damiankloip Committed by tim.plunkett
Browse files

Issue #1442092 by damiankloip, yannickoo: Added 'Select all' checkbox should...

Issue #1442092 by damiankloip, yannickoo: Added 'Select all' checkbox should be unticked when another checkbox is unticked.
parent 82bb61d6
......@@ -776,6 +776,14 @@ Drupal.behaviors.viewsFilterConfigSelectAll.attach = function(context) {
$(this).attr('checked', checked);
});
});
// Uncheck the select all checkbox if any of the others are unchecked.
$('#views-ui-config-item-form div.form-type-checkbox').not($('.form-item-options-value-all')).find('input[type=checkbox]').each(function() {
$(this).click(function() {
if ($(this).is('checked') == 0) {
$('#edit-options-value-all').removeAttr('checked');
}
});
});
};
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment