Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Newest release: 7.102 #120

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
SA-CORE-2024-005 by cm0dit, greggles, GrandmaGlassesRopeMan, wim leer…
…s, mcdruid, ram4nd, fabianx, poker10
poker10 committed Nov 20, 2024

Verified

This commit was signed with the committer’s verified signature.
poker10 Juraj Nemec
commit 08d46845b40826eec6704316d4952de07b1d4f48
4 changes: 2 additions & 2 deletions modules/overlay/overlay-parent.js
Original file line number Diff line number Diff line change
@@ -229,7 +229,7 @@ Drupal.overlay.destroy = function () {
*/
Drupal.overlay.redirect = function (url) {
// Create a native Link object, so we can use its object methods.
var link = $(url.link(url)).get(0);
var link = $("<a>").attr("href", url).get(0);

// If the link is already open, force the hashchange event to simulate reload.
if (window.location.href == link.href) {
@@ -865,7 +865,7 @@ Drupal.overlay.resetActiveClass = function(activePath) {
Drupal.overlay.getPath = function (link, ignorePathFromQueryString) {
if (typeof link == 'string') {
// Create a native Link object, so we can use its object methods.
link = $(link.link(link)).get(0);
link = $("<a>").attr("href", link).get(0);
}

var path = link.pathname;