From 1f5f5acf9011763a8b72748219f8275db527387e Mon Sep 17 00:00:00 2001 From: wei <> Date: Sat, 5 Aug 2006 04:59:37 +0000 Subject: Fixed #271 --- .../features/protected/pages/FocusControl.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/FunctionalTests/features/protected/pages/FocusControl.php (limited to 'tests/FunctionalTests/features/protected/pages/FocusControl.php') diff --git a/tests/FunctionalTests/features/protected/pages/FocusControl.php b/tests/FunctionalTests/features/protected/pages/FocusControl.php new file mode 100644 index 00000000..d78f28c4 --- /dev/null +++ b/tests/FunctionalTests/features/protected/pages/FocusControl.php @@ -0,0 +1,17 @@ +list->SelectedIndex; + if($selected >= 0) + { + $id = "button".($selected+1); + $controlID = $this->{$id}->ClientID; + $this->ClientScript->registerFocusControl($controlID); + } + } +} + +?> \ No newline at end of file -- cgit v1.2.3