Commit 5d2cdb6b authored by webchick's avatar webchick

#651810 by Kiphaas7: Fixed can't re-click same tab to re-load its contents.

parent c33d0f7b
......@@ -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;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment