summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TPanel.php
diff options
context:
space:
mode:
authorxue <>2006-04-08 17:00:05 +0000
committerxue <>2006-04-08 17:00:05 +0000
commitccf0cd0f8d6480238db531f46ae1c70554d0e90d (patch)
tree42dad36e6d3c3ee2e9affa71615257f848cff552 /framework/Web/UI/WebControls/TPanel.php
parent325b2ab61e3cf03e9ae7fb03ee1030cae6b08b3e (diff)
Added TOutputCache.
Diffstat (limited to 'framework/Web/UI/WebControls/TPanel.php')
-rw-r--r--framework/Web/UI/WebControls/TPanel.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TPanel.php b/framework/Web/UI/WebControls/TPanel.php
index 5f99edf5..03f0a3a3 100644
--- a/framework/Web/UI/WebControls/TPanel.php
+++ b/framework/Web/UI/WebControls/TPanel.php
@@ -73,7 +73,7 @@ class TPanel extends TWebControl
else
{
$writer->addAttribute('id',$this->getClientID());
- $this->getPage()->getClientScript()->registerDefaultButton($this, $button);
+ $this->getPage()->getClientScript()->registerDefaultButton($this->getClientID(), $button->getClientID());
}
}
}