aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--template/en/default/flag/list.html.tmpl7
1 files changed, 5 insertions, 2 deletions
diff --git a/template/en/default/flag/list.html.tmpl b/template/en/default/flag/list.html.tmpl
index 1b99bfb6d..75e61d774 100644
--- a/template/en/default/flag/list.html.tmpl
+++ b/template/en/default/flag/list.html.tmpl
@@ -33,8 +33,11 @@
// Enable or disable the requestee field based on the value
// of the flag field.
- if (flagField.value == "?") requesteeField.disabled = false;
- else requesteeField.disabled = true;
+ if (flagField.value == "?") {
+ requesteeField.disabled = false;
+ requesteeField.focus();
+ } else
+ requesteeField.disabled = true;
}
// Disables requestee fields when the window is loaded since they shouldn't