Commit efd12ac9 authored by David_Rothstein's avatar David_Rothstein

Issue #218470 by redndahead, casey, nod_, Albert Volkman | webernet: Fixed...

Issue #218470 by redndahead, casey, nod_, Albert Volkman | webernet: Fixed Floating tableheader: 'Select all' checkbox not updated.
parent 708e903b
......@@ -17,7 +17,8 @@ Drupal.tableSelect = function () {
var table = this, checkboxes, lastChecked;
var strings = { 'selectAll': Drupal.t('Select all rows in this table'), 'selectNone': Drupal.t('Deselect all rows in this table') };
var updateSelectAll = function (state) {
$('th.select-all input:checkbox', table).each(function () {
// Update table's select-all checkbox (and sticky header's if available).
$(table).prev('table.sticky-header').andSelf().find('th.select-all input:checkbox').each(function() {
$(this).attr('title', state ? strings.selectNone : strings.selectAll);
this.checked = state;
});
......
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