Commit 488becd3 authored by Caspar's avatar Caspar Committed by aohrvetpv
Browse files

Issue #2382485 by SpadXIII, AohRveTPV: The Drupal.settings.pathPrefix isn't used for ajax-url

parent bbb66186
Loading
Loading
Loading
Loading
+2 −2
Changes for password_policy.js: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -22,9 +22,9 @@ Drupal.behaviors.passwordOverride = {
          return;
        }
        e.stopImmediatePropagation();
        prefix = Drupal.settings.passwordPolicy.cleanUrl ? '' : '?q=';
        cleanUrlPrefix = Drupal.settings.passwordPolicy.cleanUrl ? '' : '?q=';
        $.post(
          Drupal.settings.basePath + prefix + 'password_policy/check',
          Drupal.settings.basePath + cleanUrlPrefix + Drupal.settings.pathPrefix + 'password_policy/check',
          { password: encodeURIComponent(passwordInput.val()) },
          function(data) {
            pw_status = data;