- Patch #148089 by ChrisKennedy: fixed clean URL test on Safari.

6.x
Dries Buytaert 2007-05-30 20:18:14 +00:00
parent fd9dc74c9d
commit e5738122cb
1 changed files with 1 additions and 1 deletions

View File

@ -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) {