diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-06-20 08:02:29 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-06-20 08:02:29 +0000 |
commit | 549e57370826bd7854a182e48ba357bccf4e9f95 (patch) | |
tree | c286bbea3761d5a203444c87c35a92cff2dceb9c /modules/system/system.js | |
parent | 097ea891f1276389ff458b5842d44b8c5db9b41a (diff) | |
download | brdo-549e57370826bd7854a182e48ba357bccf4e9f95.tar.gz brdo-549e57370826bd7854a182e48ba357bccf4e9f95.tar.bz2 |
#496922 by sun and Arancaytar: Fix JS Clean URL test to remove phantom redirects.
Diffstat (limited to 'modules/system/system.js')
-rw-r--r-- | modules/system/system.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.js b/modules/system/system.js index d589af166..92925c3a7 100644 --- a/modules/system/system.js +++ b/modules/system/system.js @@ -13,7 +13,7 @@ Drupal.behaviors.cleanURLsSettingsCheck = { // 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()) { + if (!($('#edit-clean-url').size()) || $('.clean-url-processed, #edit-clean-url.install').size()) { return; } var url = settings.basePath + 'admin/settings/clean-urls/check'; |