From ab65c232f4d1e05e7040b97bddaa0dc5c7b25bbc Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 29 Apr 2007 16:06:04 +0000 Subject: - Patch #97213 by Chris: made clean URL test work with non-conventional ports. --- modules/system/system.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/system/system.js b/modules/system/system.js index 62bb4b862..a77c7ac99 100644 --- a/modules/system/system.js +++ b/modules/system/system.js @@ -11,7 +11,7 @@ Drupal.cleanURLsSettingsCheck = function() { var url = location.pathname +"admin/settings/clean-urls"; $("#clean-url .description span").html('
'+ Drupal.settings.cleanURL.testing +"
"); $("#clean-url p").hide(); - $.ajax({url: location.protocol +"//"+ location.hostname + url, type: "GET", data: " ", complete: function(response) { + $.ajax({url: location.protocol +"//"+ location.host + url, type: "GET", data: " ", complete: function(response) { $("#testing").toggle(); if (response.status == 200) { // Check was successful. -- cgit v1.2.3