From 826b3eb8c84e7663a53361fb87774b76f98b10d4 Mon Sep 17 00:00:00 2001 From: wei <> Date: Mon, 19 Feb 2007 02:29:49 +0000 Subject: fixed error http://www.pradosoft.com/forum/index.php/topic,7000.0/topicseen.html --- framework/Web/UI/TForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Web') 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); -- cgit v1.2.3