- Patch #97213 by Chris: made clean URL test work with non-conventional ports.

6.x
Dries Buytaert 2007-04-29 16:06:04 +00:00
parent 301c6e7539
commit ab65c232f4
1 changed files with 1 additions and 1 deletions

View File

@ -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.