diff options
author | xue <> | 2006-06-11 22:01:52 +0000 |
---|---|---|
committer | xue <> | 2006-06-11 22:01:52 +0000 |
commit | f30c38fcc9d6cdfa7aafa5078a58645192c11974 (patch) | |
tree | 51817c56b7295386e90fea5bf0f9fbd776a84bff /framework/Web/UI/WebControls/TImageButton.php | |
parent | 233ad780df391ed4af569929c30a1370d2b440ef (diff) |
Prado js files are not rendered at the beginning of the form
Diffstat (limited to 'framework/Web/UI/WebControls/TImageButton.php')
-rw-r--r-- | framework/Web/UI/WebControls/TImageButton.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TImageButton.php b/framework/Web/UI/WebControls/TImageButton.php index df8ace43..f7f6408a 100644 --- a/framework/Web/UI/WebControls/TImageButton.php +++ b/framework/Web/UI/WebControls/TImageButton.php @@ -88,7 +88,7 @@ class TImageButton extends TImage implements IPostBackDataHandler, IPostBackEven if(($uniqueID=$this->getUniqueID())!=='')
$writer->addAttribute('name',$uniqueID);
if($this->getEnabled(true))
- $this->renderClientControlScript($writer);
+ $this->renderClientControlScript($writer);
else if($this->getEnabled()) // in this case, parent will not render 'disabled'
$writer->addAttribute('disabled','disabled');
parent::addAttributesToRender($writer);
|