diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-04-29 16:06:04 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-04-29 16:06:04 +0000 |
commit | ab65c232f4d1e05e7040b97bddaa0dc5c7b25bbc (patch) | |
tree | 718a11e3ac5cb9d5c740c53febec8325b43dab9f /modules | |
parent | 301c6e753905a03b9f8b874b0dd684780e28799b (diff) | |
download | brdo-ab65c232f4d1e05e7040b97bddaa0dc5c7b25bbc.tar.gz brdo-ab65c232f4d1e05e7040b97bddaa0dc5c7b25bbc.tar.bz2 |
- Patch #97213 by Chris: made clean URL test work with non-conventional ports.
Diffstat (limited to 'modules')
-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 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('<div id="testing">'+ Drupal.settings.cleanURL.testing +"</div>"); $("#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. |