diff --git a/modules/overlay/overlay-parent.js b/modules/overlay/overlay-parent.js index 345642ee0fe..93c82b737e0 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; };