From 9db5f1ef950e571d19cc70f1b22da1d77f22448b Mon Sep 17 00:00:00 2001 From: wei <> Date: Fri, 30 Mar 2007 08:49:15 +0000 Subject: Fixed #504 --- .../tickets/protected/pages/Ticket504.page | 67 ++++++++++++++++++++++ .../tickets/protected/pages/Ticket504.php | 27 +++++++++ 2 files changed, 94 insertions(+) create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket504.page create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket504.php (limited to 'tests/FunctionalTests') diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket504.page b/tests/FunctionalTests/tickets/protected/pages/Ticket504.page new file mode 100644 index 00000000..0242dd97 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket504.page @@ -0,0 +1,67 @@ + + + + +
+ +
+
+ + + + $('status').innerHTML = sender.ActiveControl.CallbackParameter + " updated"; + + + + $('loading').show(); + + + + $('loading').hide(); + + + + + + + + + + + +

Panel A

+
+ + +

Panel B

+
+ + +

Panel C

+
+ + +

Panel D

+
+ +
\ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket504.php b/tests/FunctionalTests/tickets/protected/pages/Ticket504.php new file mode 100644 index 00000000..f61bfec3 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket504.php @@ -0,0 +1,27 @@ +panels as $panel) { + if($id == $panel) { + $this->$panel->setAttribute('style', 'display: block;'); + $this->$panel->render($param->NewWriter); + $this->$panel->setVisible(true); + } else { + $this->$panel->setVisible(false); + } + } + } + public function changePanel($sender,$param){ + $this->showPanel($param->CallbackParameter, $param); + } + public function loadData_Callback($sender, $param){ + die("parameter is ".$param->CallbackParameter); + } +} + +?> \ No newline at end of file -- cgit v1.2.3