summaryrefslogtreecommitdiff
path: root/modules/system/system.js
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-06-20 08:02:29 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-06-20 08:02:29 +0000
commit549e57370826bd7854a182e48ba357bccf4e9f95 (patch)
treec286bbea3761d5a203444c87c35a92cff2dceb9c /modules/system/system.js
parent097ea891f1276389ff458b5842d44b8c5db9b41a (diff)
downloadbrdo-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.js2
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';