From 85509ff45f9ae8795b7f6ef2c58a45d8a574f939 Mon Sep 17 00:00:00 2001 From: wei <> Date: Mon, 4 Sep 2006 01:03:47 +0000 Subject: Update #273 --- framework/Web/UI/TPage.php | 8 -------- .../FunctionalTests/tickets/protected/pages/Ticket273.page | 13 +++++++++++++ tests/FunctionalTests/tickets/protected/pages/Ticket273.php | 11 +++++++++++ 3 files changed, 24 insertions(+), 8 deletions(-) create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket273.page create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket273.php diff --git a/framework/Web/UI/TPage.php b/framework/Web/UI/TPage.php index f3fe7fc9..9e9fce9f 100644 --- a/framework/Web/UI/TPage.php +++ b/framework/Web/UI/TPage.php @@ -676,14 +676,6 @@ class TPage extends TTemplateControl { if($beforeLoad) $this->_restPostData=new TMap; - //change the post back target - if(($target=$postData[self::FIELD_POSTBACK_TARGET])!==null - && ($control=$this->findControl($target)) - && ($control instanceof IPostBackEventHandler)) - { - $this->_postData->add(self::FIELD_POSTBACK_TARGET,$target); - } - foreach($postData as $key=>$value) { if($this->isSystemPostField($key)) diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket273.page b/tests/FunctionalTests/tickets/protected/pages/Ticket273.page new file mode 100644 index 00000000..02c1a48f --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket273.page @@ -0,0 +1,13 @@ + + + Panel 1: + + + + + Panel 2: + + + + + \ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket273.php b/tests/FunctionalTests/tickets/protected/pages/Ticket273.php new file mode 100644 index 00000000..8dca86c9 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket273.php @@ -0,0 +1,11 @@ +label1->Text = $sender->Text . ' Clicked!'; + } +} + +?> \ No newline at end of file -- cgit v1.2.3