Commit 1c3dd5de authored by kiko%async.com.br's avatar kiko%async.com.br

Fix for bug 252487: Focus requestee field when ? is toggled. r=jouni, a=myk.

parent ab5b48ea
...@@ -33,8 +33,11 @@ ...@@ -33,8 +33,11 @@
// Enable or disable the requestee field based on the value // Enable or disable the requestee field based on the value
// of the flag field. // of the flag field.
if (flagField.value == "?") requesteeField.disabled = false; if (flagField.value == "?") {
else requesteeField.disabled = true; requesteeField.disabled = false;
requesteeField.focus();
} else
requesteeField.disabled = true;
} }
// Disables requestee fields when the window is loaded since they shouldn't // Disables requestee fields when the window is loaded since they shouldn't
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment