From 3e82ee5def34025060d0640aedaf9c3dd39cdbb7 Mon Sep 17 00:00:00 2001 From: effulgentsia Date: Wed, 26 Aug 2015 18:03:29 -0700 Subject: [PATCH] Issue #2554219 follow-up: Fix usage of obsolete drupalSettings.basePath --- core/misc/drupal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/misc/drupal.js b/core/misc/drupal.js index 133321c967..505175db11 100644 --- a/core/misc/drupal.js +++ b/core/misc/drupal.js @@ -454,7 +454,7 @@ if (window.jQuery) { if (protocol === 'http:' && absoluteUrl.indexOf('https:') === 0) { protocol = 'https:'; } - var baseUrl = protocol + '//' + location.host + drupalSettings.basePath.slice(0, -1); + var baseUrl = protocol + '//' + location.host + drupalSettings.path.baseUrl.slice(0, -1); // Decoding non-UTF-8 strings may throw an exception. try { -- GitLab