Skip to content
Snippets Groups Projects
Verified Commit ca0af473 authored by Lauri Timmanee's avatar Lauri Timmanee
Browse files

Issue #3145930 by bnjmnm, msuthars, nod_: Tableheader should recalculate on toolbar tray toggle

parent fe749ea4
No related branches found
No related tags found
8 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!1012Issue #3226887: Hreflang on non-canonical content pages,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10,!596Issue #3046532: deleting an entity reference field, used in a contextual view, makes the whole site unrecoverable,!496Issue #2463967: Use .user.ini file for PHP settings,!144Issue #2666286: Clean up menu_ui to conform to Drupal coding standards,!16Draft: Resolve #2081585 "History storage",!13Resolve #2903456
...@@ -139,12 +139,12 @@ ...@@ -139,12 +139,12 @@
// Bind to custom Drupal events. // Bind to custom Drupal events.
$(document).on({ $(document).on({
/** /**
* Recalculate columns width when window is resized and when show/hide * Recalculate columns width when window is resized, when show/hide weight
* weight is triggered. * is triggered, or when toolbar tray is toggled.
* *
* @ignore * @ignore
*/ */
'columnschange.TableHeader': tableHeaderResizeHandler, 'columnschange.TableHeader drupalToolbarTrayChange': tableHeaderResizeHandler,
/** /**
* Recalculate TableHeader.topOffset when viewport is resized. * Recalculate TableHeader.topOffset when viewport is resized.
......
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
'scroll.TableHeader': tableHeaderOnScrollHandler 'scroll.TableHeader': tableHeaderOnScrollHandler
}); });
$(document).on({ $(document).on({
'columnschange.TableHeader': tableHeaderResizeHandler, 'columnschange.TableHeader drupalToolbarTrayChange': tableHeaderResizeHandler,
'drupalViewportOffsetChange.TableHeader': tableHeaderOffsetChangeHandler 'drupalViewportOffsetChange.TableHeader': tableHeaderOffsetChangeHandler
}); });
$.extend(TableHeader, { $.extend(TableHeader, {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment