diff options
Diffstat (limited to 'framework/Web/UI/TClientScriptManager.php')
-rw-r--r-- | framework/Web/UI/TClientScriptManager.php | 20 |
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';
|