diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/theme.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/theme.inc b/includes/theme.inc index a829b2cca..de1be95dd 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -761,6 +761,9 @@ function theme_table($header, $rows, $attributes = array(), $caption = NULL) { // Format the table header: if (count($header)) { + // Include JS for sticky headers. + drupal_add_js('misc/tableheader.js'); + $ts = tablesort_init($header); $output .= ' <thead><tr>'; foreach ($header as $cell) { |