diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-06-08 05:16:29 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-06-08 05:16:29 +0000 |
commit | 8e8d8274d607307ac3d9bf9883f068a7b9d17542 (patch) | |
tree | a7ae953667a059309ccab66cebdf42629bdc3ea3 /modules/toolbar/toolbar.js | |
parent | b5e696702df6df3a0bd09f44758bd8c73004c657 (diff) | |
download | brdo-8e8d8274d607307ac3d9bf9883f068a7b9d17542.tar.gz brdo-8e8d8274d607307ac3d9bf9883f068a7b9d17542.tar.bz2 |
#668640 by casey, aspilicious, et al: Re-implement Overlay without jQuery UI Dialog; massive performance improvement, helps address several critical issues.
Diffstat (limited to 'modules/toolbar/toolbar.js')
-rw-r--r-- | modules/toolbar/toolbar.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/toolbar/toolbar.js b/modules/toolbar/toolbar.js index 85129f824..4336218b6 100644 --- a/modules/toolbar/toolbar.js +++ b/modules/toolbar/toolbar.js @@ -15,9 +15,8 @@ Drupal.behaviors.toolbar = { // Toggling toolbar drawer. $('#toolbar a.toggle', context).once('toolbar-toggle').click(function(e) { Drupal.toolbar.toggle(); - // As the toolbar is an overlay displaced region, overlay should be - // notified of it's height change to adapt its position. - $(window).triggerHandler('resize.overlay-event'); + // Allow resize event handlers to recalculate sizes/positions. + $(window).triggerHandler('resize'); return false; }); } |