summaryrefslogtreecommitdiff
path: root/modules/system/system.js
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/system.js')
-rw-r--r--modules/system/system.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/system/system.js b/modules/system/system.js
index 3b477739e..8df6d5dd3 100644
--- a/modules/system/system.js
+++ b/modules/system/system.js
@@ -48,7 +48,10 @@ Drupal.cleanURLsInstallCheck = function() {
var url = location.protocol +"//"+ location.host + Drupal.settings.basePath +"admin/settings/clean-urls/check";
$("#clean-url .description").append('<span><div id="testing">'+ Drupal.settings.cleanURL.testing +"</div></span>");
$("#clean-url.install").css("display", "block");
+ // Submit a synchronous request to avoid database errors associated with
+ // concurrent requests during install.
$.ajax({
+ async: false,
url: url,
dataType: 'json',
success: function () {