summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
authorwei <>2007-02-19 02:29:49 +0000
committerwei <>2007-02-19 02:29:49 +0000
commit826b3eb8c84e7663a53361fb87774b76f98b10d4 (patch)
tree22f27dea358fa9aa7fca9cd2b0960d9f15f968f9 /framework/Web
parent826a0ceb950872bb311addd24c1a8da76a1cccc6 (diff)
fixed error http://www.pradosoft.com/forum/index.php/topic,7000.0/topicseen.html
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/UI/TForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/TForm.php b/framework/Web/UI/TForm.php
index 0a90e459..2cfa5547 100644
--- a/framework/Web/UI/TForm.php
+++ b/framework/Web/UI/TForm.php
@@ -80,9 +80,9 @@ class TForm extends TControl
$this->addAttributesToRender($writer);
$writer->renderBeginTag('form');
+ $cs=$page->getClientScript();
if($page->getClientSupportsJavaScript())
{
- $cs=$page->getClientScript();
$cs->renderHiddenFields($writer);
$cs->renderScriptFiles($writer);
$cs->renderBeginScripts($writer);