Changeset 1756
- Timestamp:
- 03/09/2007 03:49:48 PM (21 months ago)
- Location:
- trunk
- Files:
-
- 3 modified
-
HISTORY (modified) (1 diff)
-
framework/Web/UI/WebControls/TCheckBox.php (modified) (1 diff)
-
framework/Web/UI/WebControls/THiddenField.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/HISTORY
r1752 r1756 53 53 BUG: Ticket#505 - cultureInfo::getEnglishName does not return an arrary (Wei) 54 54 BUG: Ticket#508 - CultureInfo class: PHP Notice because of missing static declaration (Wei) 55 BUG: Ticket#558 - TRadionButtonList generates a empty onclick attribute (Qiang) 55 56 BUG: typo in THttpResponse.writeFile() about sending headers (Qiang) 56 57 -
trunk/framework/Web/UI/WebControls/TCheckBox.php
r1747 r1756 281 281 $value=$attributes->remove('value'); 282 282 // onclick js should only be added to input tag 283 $onclick=$attributes->remove('onclick'); 283 if(($onclick=$attributes->remove('onclick'))===null) 284 $onclick=''; 284 285 if($attributes->getCount()) 285 286 { -
trunk/framework/Web/UI/WebControls/THiddenField.php
r1668 r1756 60 60 if(($value=$this->getValue())!=='') 61 61 $writer->addAttribute('value',$value); 62 63 if($this->getHasAttributes()) 64 { 65 foreach($this->getAttributes() as $name=>$value) 66 $writer->addAttribute($name,$value); 67 } 68 62 69 $writer->renderBeginTag('input'); 63 70 $writer->renderEndTag();
