diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-01-13 05:10:46 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-01-13 05:10:46 +0000 |
commit | 5d2cdb6ba95549da448e0a127e40fcc375e3886c (patch) | |
tree | 1bd7deb3f8626be2f837440c007f5b25170f9a65 /modules/overlay/overlay-parent.js | |
parent | c33d0f7be84eef3f3cd3a6d4855fc315adb3c554 (diff) | |
download | brdo-5d2cdb6ba95549da448e0a127e40fcc375e3886c.tar.gz brdo-5d2cdb6ba95549da448e0a127e40fcc375e3886c.tar.bz2 |
#651810 by Kiphaas7: Fixed can't re-click same tab to re-load its contents.
Diffstat (limited to 'modules/overlay/overlay-parent.js')
-rw-r--r-- | modules/overlay/overlay-parent.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/overlay/overlay-parent.js b/modules/overlay/overlay-parent.js index 345642ee0..93c82b737 100644 --- a/modules/overlay/overlay-parent.js +++ b/modules/overlay/overlay-parent.js @@ -365,6 +365,12 @@ Drupal.overlay.redirect = function (link) { var absolute = location.href.match(/https?:\/\/[^\/]*/)[0]; link = absolute + link; } + + // If the link is already open, force the haschange event. + if (location.href == link) { + $(window).trigger('hashchange.overlay-event'); + } + location.href = link; return true; }; |