diff options
author | wei <> | 2007-05-08 03:16:10 +0000 |
---|---|---|
committer | wei <> | 2007-05-08 03:16:10 +0000 |
commit | 84863ce89a1a712aa00df5c33227cecafded881a (patch) | |
tree | f54a11880bece65140026d52a601d138eda453bc /framework/Web/UI/ActiveControls | |
parent | 9dfaab8227dc5643fac72b8aaece36df47fd3631 (diff) |
Fixed #593.
Diffstat (limited to 'framework/Web/UI/ActiveControls')
-rw-r--r-- | framework/Web/UI/ActiveControls/TInPlaceTextBox.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/framework/Web/UI/ActiveControls/TInPlaceTextBox.php b/framework/Web/UI/ActiveControls/TInPlaceTextBox.php index e1305ed0..4c75aa2b 100644 --- a/framework/Web/UI/ActiveControls/TInPlaceTextBox.php +++ b/framework/Web/UI/ActiveControls/TInPlaceTextBox.php @@ -10,6 +10,8 @@ * @package System.Web.UI.ActiveControls
*/
+Prado::using('System.Web.UI.ActiveControls.TActiveTextBox');
+
/**
* TInPlaceTextBox Class
* *
@@ -239,7 +241,8 @@ class TInPlaceTextBox extends TActiveTextBox */
protected function addAttributesToRender($writer)
{
- TTextBox::addAttributesToRender($writer);
+ //calls the TWebControl to avoid rendering other attribute normally render for a textbox.
+ TWebControl::addAttributesToRender($writer);
$writer->addAttribute('id',$this->getLabelClientID());
$this->getActiveControl()->registerCallbackClientScript(
$this->getClientClassName(), $this->getPostBackOptions());
|