summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/features/protected/pages/FocusControl.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/features/protected/pages/FocusControl.php')
-rw-r--r--tests/FunctionalTests/features/protected/pages/FocusControl.php32
1 files changed, 16 insertions, 16 deletions
diff --git a/tests/FunctionalTests/features/protected/pages/FocusControl.php b/tests/FunctionalTests/features/protected/pages/FocusControl.php
index d78f28c4..e534a92a 100644
--- a/tests/FunctionalTests/features/protected/pages/FocusControl.php
+++ b/tests/FunctionalTests/features/protected/pages/FocusControl.php
@@ -1,17 +1,17 @@
-<?php
-
-class FocusControl extends TPage
-{
- function doFocus($sender, $param)
- {
- $selected = $this->list->SelectedIndex;
- if($selected >= 0)
- {
- $id = "button".($selected+1);
- $controlID = $this->{$id}->ClientID;
- $this->ClientScript->registerFocusControl($controlID);
- }
- }
-}
-
+<?php
+
+class FocusControl extends TPage
+{
+ function doFocus($sender, $param)
+ {
+ $selected = $this->list->SelectedIndex;
+ if($selected >= 0)
+ {
+ $id = "button".($selected+1);
+ $controlID = $this->{$id}->ClientID;
+ $this->ClientScript->registerFocusControl($controlID);
+ }
+ }
+}
+
?> \ No newline at end of file