From 68eb20ae56e35cc48982be6f15c0738a276c3684 Mon Sep 17 00:00:00 2001 From: wei <> Date: Sat, 21 Oct 2006 02:46:12 +0000 Subject: update ajax callback to be quequed --- .../protected/pages/DelayedCallback.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tests/FunctionalTests/active-controls/protected/pages/DelayedCallback.php (limited to 'tests/FunctionalTests/active-controls/protected/pages/DelayedCallback.php') diff --git a/tests/FunctionalTests/active-controls/protected/pages/DelayedCallback.php b/tests/FunctionalTests/active-controls/protected/pages/DelayedCallback.php new file mode 100644 index 00000000..7e9195dc --- /dev/null +++ b/tests/FunctionalTests/active-controls/protected/pages/DelayedCallback.php @@ -0,0 +1,21 @@ +status->Text="Callback 1 returned after {$ms}s"; + } + + function callback2($sender, $param) + { + $ms = 2; + sleep($ms); + $this->status->Text="Callback 2 delayed {$ms}s"; + } + +} + +?> \ No newline at end of file -- cgit v1.2.3