From: kiko%async.com.br <> Date: Sat, 24 Jul 2004 09:10:05 +0000 (+0000) Subject: Fix for bug 252487: Focus requestee field when ? is toggled. r=jouni, a=myk. X-Git-Tag: bugzilla-2.19.1~124 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c3dd5de9389bcc2151d58820283ecae423d3558;p=thirdparty%2Fbugzilla.git Fix for bug 252487: Focus requestee field when ? is toggled. r=jouni, a=myk. --- diff --git a/template/en/default/flag/list.html.tmpl b/template/en/default/flag/list.html.tmpl index 1b99bfb6d5..75e61d774b 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