Changeset 2433 for trunk/framework/Web/UI
- Timestamp:
- 04/18/2008 04:43:30 AM (9 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/framework/Web/UI/WebControls/TCheckBoxList.php
r2430 r2433 367 367 protected function getSpanNeeded () 368 368 { 369 if ($this->getRepeatLayout()===TRepeatLayout::Raw) 370 { 371 $id=$this->getID(); 372 // Check if we have a validator registered for this control 373 foreach ($this->getPage()->getValidators() as $v) 374 { 375 if ($v->getControlToValidate()===$id) 376 return true; 377 } 378 } 379 return false; 369 return $this->getRepeatLayout()===TRepeatLayout::Raw; 380 370 } 381 371
