From 233ad780df391ed4af569929c30a1370d2b440ef Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 10 Jun 2006 14:58:25 +0000 Subject: Merge from 3.0 branch till 1150. Fixed the bug that postback js causes controls not inheritable. --- framework/Web/UI/WebControls/TLinkButton.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Web/UI/WebControls/TLinkButton.php') diff --git a/framework/Web/UI/WebControls/TLinkButton.php b/framework/Web/UI/WebControls/TLinkButton.php index 7487b37a..e7fea0b5 100644 --- a/framework/Web/UI/WebControls/TLinkButton.php +++ b/framework/Web/UI/WebControls/TLinkButton.php @@ -95,7 +95,7 @@ class TLinkButton extends TWebControl implements IPostBackEventHandler, IButtonC $nop = "javascript:;//".$this->getClientID(); $writer->addAttribute('href', $nop); $cs = $this->getPage()->getClientScript(); - $cs->registerPostBackControl(get_class($this),$this->getPostBackOptions()); + $cs->registerPostBackControl('Prado.WebUI.TLinkButton',$this->getPostBackOptions()); } /** -- cgit v1.2.3