Index: misc/tableheader.js =================================================================== RCS file: /cvs/drupal/drupal/misc/tableheader.js,v retrieving revision 1.31 diff -u -r1.31 tableheader.js --- misc/tableheader.js 23 May 2010 18:23:32 -0000 1.31 +++ misc/tableheader.js 24 May 2010 11:09:25 -0000 @@ -42,7 +42,7 @@ // Track positioning and visibility. function tracker(e) { // Reset top position of sticky table headers to the current top offset. - var topOffset = Drupal.settings.tableHeaderOffset ? eval(Drupal.settings.tableHeaderOffset + '()') : 0; + var topOffset = Drupal.displace ? Drupal.displace.getDisplacement('top') : 0; $('.sticky-header').css('top', topOffset + 'px'); // Save positioning data. var viewHeight = document.documentElement.scrollHeight || document.body.scrollHeight; Index: misc/drupal.js =================================================================== RCS file: /cvs/drupal/drupal/misc/drupal.js,v retrieving revision 1.68 diff -u -r1.68 drupal.js --- misc/drupal.js 24 May 2010 07:22:12 -0000 1.68 +++ misc/drupal.js 24 May 2010 11:09:25 -0000 @@ -331,7 +331,21 @@ // 'js enabled' cookie. document.cookie = 'has_js=1; path=/'; -// Attach all behaviors. +/** + * Additions to jQuery.support. + */ +$(function () { + /** + * Boolean indicating whether or not position:fixed is supported. + */ + if (jQuery.support.positionFixed === undefined) { + var el = $('
').appendTo(document.body); + jQuery.support.positionFixed = el[0].offsetTop === 10; + el.remove(); + } +}); + +//Attach all behaviors. $(function () { Drupal.attachBehaviors(document, Drupal.settings); }); Index: modules/toolbar/toolbar.tpl.php =================================================================== RCS file: /cvs/drupal/drupal/modules/toolbar/toolbar.tpl.php,v retrieving revision 1.11 diff -u -r1.11 toolbar.tpl.php --- modules/toolbar/toolbar.tpl.php 23 May 2010 18:23:32 -0000 1.11 +++ modules/toolbar/toolbar.tpl.php 24 May 2010 11:09:26 -0000 @@ -22,7 +22,7 @@ * @see template_preprocess_toolbar() */ ?> -