diff options
author | kiko%async.com.br <> | 2004-07-24 09:10:05 +0000 |
---|---|---|
committer | kiko%async.com.br <> | 2004-07-24 09:10:05 +0000 |
commit | 1c3dd5de9389bcc2151d58820283ecae423d3558 (patch) | |
tree | 82f9acc5ab83c598d303c231ae901d9f8bd65b8d | |
parent | ab5b48eafb99cc1c56566424295b4bdc18cb9a0d (diff) | |
download | bugs-1c3dd5de9389bcc2151d58820283ecae423d3558.tar bugs-1c3dd5de9389bcc2151d58820283ecae423d3558.tar.gz bugs-1c3dd5de9389bcc2151d58820283ecae423d3558.tar.bz2 bugs-1c3dd5de9389bcc2151d58820283ecae423d3558.tar.xz bugs-1c3dd5de9389bcc2151d58820283ecae423d3558.zip |
Fix for bug 252487: Focus requestee field when ? is toggled. r=jouni, a=myk.
-rw-r--r-- | template/en/default/flag/list.html.tmpl | 7 |
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 |