diff options
author | xue <> | 2005-12-03 04:42:14 +0000 |
---|---|---|
committer | xue <> | 2005-12-03 04:42:14 +0000 |
commit | 0d42be79b9dfeaa7686fb7da11920af4eb0561d7 (patch) | |
tree | 2ddbfeb4243ed5d87985158ee905ea521c430fca /framework/Web/UI/WebControls/TImageButton.php | |
parent | c488100ee3bf9d6c27a0a78e3174a6c698fabfa2 (diff) |
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 d715480d..b0fb5a8b 100644 --- a/framework/Web/UI/WebControls/TImageButton.php +++ b/framework/Web/UI/WebControls/TImageButton.php @@ -74,7 +74,7 @@ class TImageButton extends TImage implements IPostBackDataHandler, IPostBackEven $onclick=$this->getOnClientClick();
if($onclick!=='')
$onclick=rtrim($onclick,';').';';
- $onclick.=$page->getClientScript()->getPostBackEventReference($this->getPostBackOptions());
+ $onclick.=$page->getClientScript()->getPostBackEventReference($this,'',$this->getPostBackOptions(),false);
}
else if($this->getEnabled()) // in this case, parent will not render 'disabled'
$writer->addAttribute('disabled','disabled');
|