diff options
Diffstat (limited to 'framework/Web/UI/TForm.php')
-rw-r--r-- | framework/Web/UI/TForm.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/Web/UI/TForm.php b/framework/Web/UI/TForm.php index 0edb976b..4c619299 100644 --- a/framework/Web/UI/TForm.php +++ b/framework/Web/UI/TForm.php @@ -19,6 +19,7 @@ class TForm extends TControl $attributes->remove('action');
$page=$this->getPage();
+ /*
$onsubmit=$page->getClientOnSubmitEvent();
if($onsubmit!=='')
{
@@ -29,7 +30,7 @@ class TForm extends TControl }
if($page->getClientSupportsJavaScript())
$writer->addAttribute('onsubmit',$onsubmit);
- }
+ }*/
if($this->getDefaultButton()!=='')
{//todo
$control=$this->findControl($this->getDefaultButton());
|