summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorkiko%async.com.br <>2004-07-24 11:10:05 +0200
committerkiko%async.com.br <>2004-07-24 11:10:05 +0200
commit1c3dd5de9389bcc2151d58820283ecae423d3558 (patch)
tree82f9acc5ab83c598d303c231ae901d9f8bd65b8d /template/en/default
parentab5b48eafb99cc1c56566424295b4bdc18cb9a0d (diff)
downloadbugzilla-1c3dd5de9389bcc2151d58820283ecae423d3558.tar.gz
bugzilla-1c3dd5de9389bcc2151d58820283ecae423d3558.tar.xz
Fix for bug 252487: Focus requestee field when ? is toggled. r=jouni, a=myk.
Diffstat (limited to 'template/en/default')
-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