diff --git a/modules/system/system.js b/modules/system/system.js index a53fefc77360..c2abc8a8999c 100644 --- a/modules/system/system.js +++ b/modules/system/system.js @@ -24,11 +24,12 @@ Drupal.behaviors.cleanURLsSettingsCheck = function(context) { // Check was successful. $("#clean-url input.form-radio").attr("disabled", false); $("#clean-url .description span").append('
'+ Drupal.t('Your server has been successfully tested to support this feature.') +"
"); - $("#testing").toggle(); + $("#testing").hide(); }, error: function() { // Check failed. $("#clean-url .description span").append('
'+ Drupal.t('Your system configuration does not currently support this feature. The handbook page on Clean URLs has additional troubleshooting information.') +"
"); + $("#testing").hide(); } }); $("#clean-url").addClass('clean-url-processed'); @@ -51,12 +52,14 @@ Drupal.cleanURLsInstallCheck = function() { success: function () { // Check was successful. $("#clean-url input.form-radio").attr("disabled", false); - $("#clean-url .description span").append('
'+ Drupal.settings.cleanURL.success +"
"); $("#clean-url input.form-radio").attr("checked", 1); + $("#clean-url .description span").append('
'+ Drupal.settings.cleanURL.success +"
"); + $("#testing").hide(); }, error: function() { // Check failed. $("#clean-url .description span").append('
'+ Drupal.settings.cleanURL.failure +"
"); + $("#testing").hide(); } }); $("#clean-url").addClass('clean-url-processed');