From 1c3dd5de9389bcc2151d58820283ecae423d3558 Mon Sep 17 00:00:00 2001 From: "kiko%async.com.br" <> Date: Sat, 24 Jul 2004 09:10:05 +0000 Subject: Fix for bug 252487: Focus requestee field when ? is toggled. r=jouni, a=myk. --- template/en/default/flag/list.html.tmpl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'template/en/default/flag') 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 -- cgit v1.2.3-24-g4f1b