diff options
author | wei <> | 2007-02-19 02:29:49 +0000 |
---|---|---|
committer | wei <> | 2007-02-19 02:29:49 +0000 |
commit | 826b3eb8c84e7663a53361fb87774b76f98b10d4 (patch) | |
tree | 22f27dea358fa9aa7fca9cd2b0960d9f15f968f9 /framework/Web | |
parent | 826a0ceb950872bb311addd24c1a8da76a1cccc6 (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.php | 2 |
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);
|