diff options
author | xue <> | 2006-01-16 14:16:50 +0000 |
---|---|---|
committer | xue <> | 2006-01-16 14:16:50 +0000 |
commit | 14a4d3010ab626c3d333606daeb5012d0804c1dd (patch) | |
tree | 481a4866cce2f954347f64b4bb532037845de899 /framework/Web/UI/WebControls/TPanel.php | |
parent | acfdc83a0bb620d996c80a0787fd515121fcdca0 (diff) |
Added support to localization tag.
Diffstat (limited to 'framework/Web/UI/WebControls/TPanel.php')
-rw-r--r-- | framework/Web/UI/WebControls/TPanel.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/framework/Web/UI/WebControls/TPanel.php b/framework/Web/UI/WebControls/TPanel.php index 5065aa61..6661eadb 100644 --- a/framework/Web/UI/WebControls/TPanel.php +++ b/framework/Web/UI/WebControls/TPanel.php @@ -74,8 +74,9 @@ class TPanel extends TWebControl {
$scripts = $this->getPage()->getClientScript();
$js = $scripts->registerDefaultButtonScript($this,$button);
- $scripts->registerEndScript($this->ClientID.'defaultButton', $js);
- $writer->addAttribute('id',$this->getClientID());
+ $clientID=$this->getClientID();
+ $scripts->registerEndScript($clientID.'defaultButton', $js);
+ $writer->addAttribute('id',$clientID);
}
}
}
|