summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/THiddenField.php
diff options
context:
space:
mode:
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);