From 903ae8a581fac1e6917fc3e31d2ad8fb91df80c3 Mon Sep 17 00:00:00 2001 From: ctrlaltca <> Date: Thu, 12 Jul 2012 11:21:01 +0000 Subject: standardize the use of unix eol; use svn properties to enforce native eol --- .../tickets/protected/pages/Ticket433.php | 42 +++++++++++----------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'tests/FunctionalTests/tickets/protected/pages/Ticket433.php') diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket433.php b/tests/FunctionalTests/tickets/protected/pages/Ticket433.php index 2e5c1ff7..a87f8f82 100644 --- a/tests/FunctionalTests/tickets/protected/pages/Ticket433.php +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket433.php @@ -1,24 +1,24 @@ IsPostBack) - $this->VoteClick->Text = "BEFORE click"; - } - - public function onUpdateVoteClick($sender, $param) - { - $sender->Text = 'AFTER click'; - } - - public function onUpdateVoteCallback($sender, $param) - { - $sender->Text .= ' CALLBACK DONE'; - } -} + +Prado::using('System.Web.UI.ActiveControls.*'); + +class Ticket433 extends TPage +{ + public function onLoad($param) + { + if(!$this->IsPostBack) + $this->VoteClick->Text = "BEFORE click"; + } + + public function onUpdateVoteClick($sender, $param) + { + $sender->Text = 'AFTER click'; + } + + public function onUpdateVoteCallback($sender, $param) + { + $sender->Text .= ' CALLBACK DONE'; + } +} ?> \ No newline at end of file -- cgit v1.2.3