summaryrefslogtreecommitdiff
path: root/framework/Web/UI/TClientScriptManager.php
diff options
context:
space:
mode:
authorxue <>2005-12-05 13:57:49 +0000
committerxue <>2005-12-05 13:57:49 +0000
commit703b3edacfbb12b57510d1ca441b6bbbb2fc16ab (patch)
tree9cdffc4d80faef0646fab2f5a404c9a20a3d91d2 /framework/Web/UI/TClientScriptManager.php
parentf2cb7a3cf82f4788e4e96bd42fa617d6ea8e0fb0 (diff)
Diffstat (limited to 'framework/Web/UI/TClientScriptManager.php')
-rw-r--r--framework/Web/UI/TClientScriptManager.php20
1 files changed, 5 insertions, 15 deletions
diff --git a/framework/Web/UI/TClientScriptManager.php b/framework/Web/UI/TClientScriptManager.php
index 6c9d6ce8..0b88dac8 100644
--- a/framework/Web/UI/TClientScriptManager.php
+++ b/framework/Web/UI/TClientScriptManager.php
@@ -3,31 +3,21 @@
class TPostBackOptions extends TComponent
{
public $ActionUrl;
- public $Argument;
public $AutoPostBack;
public $ClientSubmit;
public $PerformValidation;
- public $TargetControl;
public $TrackFocus;
public $ValidationGroup;
- public function __construct($targetControl=null,
- $argument='',
- $actionUrl='',
- $autoPostBack=false,
- $trackFocus=false,
- $clientSubmit=true,
- $performValidation=false,
- $validationGroup='')
+ public function __construct($actionUrl='',$autoPostBack=false,$clientSubmit=true,
+ $performValidation=false,$validationGroup='',$trackFocus=false)
{
$this->ActionUrl=$actionUrl;
- $this->Argument=$argument;
$this->AutoPostBack=$autoPostBack;
$this->ClientSubmit=$clientSubmit;
$this->PerformValidation=$performValidation;
- $this->TargetControl=$targetControl;
- $this->TrackFocus=$trackFocus;
$this->ValidationGroup=$validationGroup;
+ $this->TrackFocus=$trackFocus;
}
}
@@ -98,8 +88,8 @@ class TClientScriptManager extends TComponent
}
else
$opt.='false)';
- //if(!$flag)
- // return '';
+ if(!$flag)
+ return '';
}
else
$opt='null';