Changeset 2433
- Timestamp:
- 04/18/2008 04:43:30 AM
- Files:
-
- trunk/UPGRADE (modified) (1 diff)
- trunk/framework/Web/UI/WebControls/TCheckBoxList.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/UPGRADE
r2323 r2433 19 19 'albums' => array(self::MANY_TO_MANY, 'Artist', 'album_artists') 20 20 - Active Record no longer automatically adds/removes/updates related objects. 21 - 'Raw' mode for TCheckboxList and TRadioButtonList (and their active counter parts) now render 22 a surrounding <span> tag to allow client scripts to identify them with the ClientId. You may 23 have to check your CSS. 21 24 22 25 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
