diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-03-27 05:47:08 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-03-27 05:47:08 +0000 |
commit | f86fda29a3e004e7e38a5d039aa0869a5bd6d888 (patch) | |
tree | 9631277708690d39ea989c042fec093cf87221b4 /modules | |
parent | 9eff5d958866cd44f379a45b6ce3ec0d5f50496d (diff) | |
download | brdo-f86fda29a3e004e7e38a5d039aa0869a5bd6d888.tar.gz brdo-f86fda29a3e004e7e38a5d039aa0869a5bd6d888.tar.bz2 |
#685790 by casey and Heine: No Overlay when Clean URLs are off.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/overlay/overlay-parent.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/overlay/overlay-parent.js b/modules/overlay/overlay-parent.js index c69d9d022..6362e6794 100644 --- a/modules/overlay/overlay-parent.js +++ b/modules/overlay/overlay-parent.js @@ -967,7 +967,7 @@ Drupal.overlay.getPath = function (link, ignorePathFromQueryString) { if (path.charAt(0) != '/') { path = '/' + path; } - path = path.replace(new RegExp(Drupal.settings.basePath), ''); + path = path.replace(new RegExp(Drupal.settings.basePath + "(?:index.php)?"), ''); if (path == '' && !ignorePathFromQueryString) { // If the path appears empty, it might mean the path is represented in the // query string (clean URLs are not used). |