From d7961587975411d4c554878f7d658aa7502b3a5e Mon Sep 17 00:00:00 2001 From: nshkuro Date: Tue, 11 Mar 2014 15:00:36 +0700 Subject: [PATCH] Fix sticky headers after ajax request. Drupal core bug. See https://drupal.org/node/1253952 --- misc/tableheader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/tableheader.js b/misc/tableheader.js index 9deb18d84a6..511c4a4c1f4 100644 --- a/misc/tableheader.js +++ b/misc/tableheader.js @@ -13,7 +13,7 @@ Drupal.behaviors.tableHeader = function (context) { // Keep track of all cloned table headers. var headers = []; - + $(".sticky-header").each(function(i, el){headers.push(el);}); $('table.sticky-enabled thead:not(.tableHeader-processed)', context).each(function () { // Clone thead so it inherits original jQuery properties. var headerClone = $(this).clone(true).insertBefore(this.parentNode).wrap('').parent().css({