Index: modules/system/system.js
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.js,v
retrieving revision 1.23
diff -u -p -r1.23 system.js
--- modules/system/system.js	26 Apr 2009 19:18:46 -0000	1.23
+++ modules/system/system.js	27 Apr 2009 09:11:55 -0000
@@ -17,24 +17,25 @@ Drupal.behaviors.cleanURLsSettingsCheck 
       return;
     }
     var url = settings.basePath + 'admin/settings/clean-urls/check';
-    $('#clean-url .description span').html('<div id="testing">' + Drupal.t('Testing clean URLs...') + '</div>');
-    $('#clean-url p').hide();
+    // replace helptext with a loader 
+    $('#system-clean-url-settings div p:first').html('<div id="testing">' + Drupal.t('Testing clean URLs...') + '</div>');
+    // hide the submit button, with javascript there can be no form submission
+    $('#edit-clean-url-test').hide();
     $.ajax({
       url: location.protocol + '//' + location.host + url,
       dataType: 'json',
       success: function() {
-        // Check was successful.
-        $('#clean-url input.form-radio').attr('disabled', false);
-        $('#clean-url .description span').append('<div class="ok">' + Drupal.t('Your server has been successfully tested to support this feature.') + '</div>');
+        // Check was successful - @todo: redirect or link to the form where the use can actually enable clean url!
+        $('#system-clean-url-settings div p:first').append('<div class="ok">' + Drupal.t('Your server has been successfully tested to support this feature.') + '</div>');
         $('#testing').hide();
       },
       error: function() {
         // Check failed.
-        $('#clean-url .description span').append('<div class="warning">' + Drupal.t('Your system configuration does not currently support this feature. The <a href="http://drupal.org/node/15365">handbook page on Clean URLs</a> has additional troubleshooting information.') + '</div>');
+        $('#system-clean-url-settings div p:first').append('<div class="warning">' + Drupal.t('Your system configuration does not currently support this feature. The <a href="http://drupal.org/node/15365">handbook page on Clean URLs</a> has additional troubleshooting information.') + '</div>');
         $('#testing').hide();
       }
     });
-    $('#clean-url').addClass('clean-url-processed');
+    $('#system-clean-url-settings').addClass('clean-url-processed');
   }
 };
 
