? .DS_Store
? clean_url_js_00.patch
? clean_url_js_01.patch
? modules/.DS_Store
? sites/.DS_Store
? sites/default/files
? sites/default/settings.php
Index: modules/system/system.js
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.js,v
retrieving revision 1.26
diff -u -p -r1.26 system.js
--- modules/system/system.js	29 May 2009 19:51:43 -0000	1.26
+++ modules/system/system.js	8 Jun 2009 01:07:36 -0000
@@ -10,22 +10,17 @@
  */
 Drupal.behaviors.cleanURLsSettingsCheck = {
   attach: function (context, settings) {
-    // This behavior attaches by ID, so is only valid once on a page.
-    // Also skip if we are on an install page, as Drupal.cleanURLsInstallCheck will handle
-    // the processing.
-    if ($('.clean-url-processed, #edit-clean-url.install').size()) {
-      return;
+    if ($('#edit-clean-url-test').size()) {
+      var url = settings.basePath + 'admin/settings/clean-urls/check';
+      $.ajax({
+        url: location.protocol + '//' + location.host + url,
+        dataType: 'json',
+        success: function () {
+          // Check was successful. Redirect using a "clean URL". This will force the form that allows enabling clean URLs.
+          location = settings.basePath +"admin/settings/clean-urls";
+        }
+      });
     }
-    var url = settings.basePath + 'admin/settings/clean-urls/check';
-    $.ajax({
-      url: location.protocol + '//' + location.host + url,
-      dataType: 'json',
-      success: function () {
-        // Check was successful. Redirect using a "clean URL". This will force the form that allows enabling clean URLs.
-        location = settings.basePath +"admin/settings/clean-urls";
-      }
-    });
-    $('#clean-url').addClass('clean-url-processed');
   }
 };
 
