From c3404ca887eb20dbf7e3b8d4118d87f4cf39f31e Mon Sep 17 00:00:00 2001 From: wei <> Date: Fri, 9 Jun 2006 07:41:18 +0000 Subject: Update datepicker and link button. --- framework/Web/UI/WebControls/TLinkButton.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'framework/Web/UI/WebControls') diff --git a/framework/Web/UI/WebControls/TLinkButton.php b/framework/Web/UI/WebControls/TLinkButton.php index bca4a8f6..b25f602b 100644 --- a/framework/Web/UI/WebControls/TLinkButton.php +++ b/framework/Web/UI/WebControls/TLinkButton.php @@ -83,7 +83,8 @@ class TLinkButton extends TWebControl implements IPostBackEventHandler, IButtonC if($this->getEnabled(true)) { //create unique no-op url references - $nop = "#".$this->getClientID(); + //$nop = "#".$this->getClientID(); + $nop = "javascript:;//".$this->getClientID(); $writer->addAttribute('href', $nop); $this->getPage()->getClientScript()->registerPostBackControl('Prado.WebUI.TLinkButton',$this->getPostBackOptions()); } -- cgit v1.2.3