mirror of
https://github.com/tag1consulting/d7_to_d10_migration.git
synced 2025-09-06 00:51:22 +00:00
Update Drupal 7 dependencies
This commit is contained in:
parent
7d902ba1ef
commit
13df912654
391 changed files with 2900 additions and 1502 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue