diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-05-30 20:18:14 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-05-30 20:18:14 +0000 |
commit | e5738122cb2c38eec03e0d9b8319236ba8ccbefa (patch) | |
tree | c6e9cf61604b12c94d064b7db264716047f6fc2d | |
parent | fd9dc74c9d918632569f2e41006ee1a5a14aeb32 (diff) | |
download | brdo-e5738122cb2c38eec03e0d9b8319236ba8ccbefa.tar.gz brdo-e5738122cb2c38eec03e0d9b8319236ba8ccbefa.tar.bz2 |
- Patch #148089 by ChrisKennedy: fixed clean URL test on Safari.
-rw-r--r-- | modules/system/system.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.js b/modules/system/system.js index 93f101f12..4d254033c 100644 --- a/modules/system/system.js +++ b/modules/system/system.js @@ -34,7 +34,7 @@ Drupal.cleanURLsSettingsCheck = function() { */ Drupal.cleanURLsInstallCheck = function() { var pathname = location.pathname +""; - var url = pathname.replace(/\/[^\/]*?$/, '/') +"node"; + var url = pathname.replace(/\/[^/]*$/, "/") +"node"; $("#clean-url .description").append('<span><div id="testing">'+ Drupal.settings.cleanURL.testing +"</div></span>"); $("#clean-url.install").css("display", "block"); $.ajax({url: location.protocol +"//"+ location.host + url, type: "GET", data: " ", complete: function(response) { |