summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/THiddenField.php
diff options
context:
space:
mode:
authorxue <>2005-12-06 20:31:44 +0000
committerxue <>2005-12-06 20:31:44 +0000
commit03142d666493516ca86dede5380344f8c05b7633 (patch)
tree16559c4bf063b300ba89fd937d84dc7e349f3195 /framework/Web/UI/WebControls/THiddenField.php
parentad85f86617b7128f231462b7baf6e091b7dca8e3 (diff)
Diffstat (limited to 'framework/Web/UI/WebControls/THiddenField.php')
-rw-r--r--framework/Web/UI/WebControls/THiddenField.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/framework/Web/UI/WebControls/THiddenField.php b/framework/Web/UI/WebControls/THiddenField.php
index 5c8605f7..fe758c6b 100644
--- a/framework/Web/UI/WebControls/THiddenField.php
+++ b/framework/Web/UI/WebControls/THiddenField.php
@@ -51,9 +51,7 @@ class THiddenField extends TControl implements IPostBackDataHandler
protected function render($writer)
{
$uniqueID=$this->getUniqueID();
- $page=$this->getPage();
- $page->ensureRenderInForm($this);
- //$page->getClientScript()->registerForEventValidation($uniqueID);
+ $this->getPage()->ensureRenderInForm($this);
$writer->addAttribute('type','hidden');
if($uniqueID!=='')
$writer->addAttribute('name',$uniqueID);