Changeset 1691
- Timestamp:
- 02/12/2007 06:38:07 PM (22 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/framework/Web/UI/WebControls/TImageButton.php
r1397 r1691 90 90 if($this->getEnabled(true)) 91 91 { 92 if($this->canCauseValidation())93 {94 92 $writer->addAttribute('id',$this->getClientID()); 95 93 $this->getPage()->getClientScript()->registerPostBackControl('Prado.WebUI.TImageButton',$this->getPostBackOptions()); 96 }97 94 } 98 95 else if($this->getEnabled()) // in this case, parent will not render 'disabled' … … 144 141 $this->_x=intval($values["{$uid}_x"]); 145 142 $this->_y=intval($values["{$uid}_y"]); 146 $this->getPage()->setPostBackEventTarget($this);147 143 } 148 144 return false;
