From d517ca3a4ca17271e16708cbe6d8381912f16988 Mon Sep 17 00:00:00 2001 From: jonathan_byrne Date: Tue, 19 Feb 2008 10:10:22 +0000 Subject: [PATCH] KTC-227 "Widget broken" --- plugins/ktcore/admin/fieldsets/conditional.inc.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/plugins/ktcore/admin/fieldsets/conditional.inc.php b/plugins/ktcore/admin/fieldsets/conditional.inc.php index 4e1a64a..8b57eba 100644 --- a/plugins/ktcore/admin/fieldsets/conditional.inc.php +++ b/plugins/ktcore/admin/fieldsets/conditional.inc.php @@ -111,12 +111,15 @@ class ConditionalFieldsetManagementDispatcher extends BasicFieldsetManagementDis // now prep for the warnings. if ($this->oMasterfield) { if (!empty($this->aFreeFields)) { - $this->addErrorMessage(_kt("All fields must be assigned to an order in the conditional system. To correct this, please use the \"manage field ordering\" link below. This fieldset will display as a normal, non-conditional fieldset until this problem is corrected.")); + $this->addErrorMessage(_kt("Al fields must be assigned to an order in the conditional system. To correct this, please use the \"manage field ordering\" link below. This fieldset will display as a normal, non-conditional fieldset until this problem is corrected.")); + $this->oPage->booleanLink = true; } else if ($this->bIncomplete) { - $this->addErrorMessage(sprintf(_kt("This fieldset is incomplete: %s This fieldset will display as a normal, non-conditional fieldset until this problem is corrected."), $sIncomplete)); + $this->addErrorMessage(sprintf(_kt("This fieldset is incomplete: %s This fieldset will display as a normal, non-conditional fieldset until this problem is corrected."), $sIncomplete)); + $this->oPage->booleanLink = true; } } else { - $this->addErrorMessage(_kt("A conditional fieldset must have a master field before it can be used. To correct this, please use the \"manage field ordering\" link below. This fieldset will display as a normal, non-conditional fieldset until this problem is corrected.")); + $this->addErrorMessage(_kt("A conditional fieldset must have a master field before it can be used. To correct this, please use the \"manage field ordering\" link below. This fieldset will display as a normal, non-conditional fieldset until this problem is corrected.")); + $this->oPage->booleanLink = true; } } -- libgit2 0.21.4