summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/WebControls')
-rw-r--r--framework/Web/UI/WebControls/TCheckBoxList.php12
1 files changed, 1 insertions, 11 deletions
diff --git a/framework/Web/UI/WebControls/TCheckBoxList.php b/framework/Web/UI/WebControls/TCheckBoxList.php
index 51b363ad..d6eca318 100644
--- a/framework/Web/UI/WebControls/TCheckBoxList.php
+++ b/framework/Web/UI/WebControls/TCheckBoxList.php
@@ -366,17 +366,7 @@ class TCheckBoxList extends TListControl implements IRepeatInfoUser, INamingCont
*/
protected function getSpanNeeded ()
{
- if ($this->getRepeatLayout()===TRepeatLayout::Raw)
- {
- $id=$this->getID();
- // Check if we have a validator registered for this control
- foreach ($this->getPage()->getValidators() as $v)
- {
- if ($v->getControlToValidate()===$id)
- return true;
- }
- }
- return false;
+ return $this->getRepeatLayout()===TRepeatLayout::Raw;
}
/**