From 77e18ab703efabe48a0180f04e9c58dc22f72910 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Thu, 5 Aug 2010 01:25:23 +0200 Subject: Bug 584032: Cannot set requestees on bug creation r=pyrzak a=LpSolit --- template/en/default/bug/create/create.html.tmpl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'template/en') diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl index f79249946..08eb44c4e 100644 --- a/template/en/default/bug/create/create.html.tmpl +++ b/template/en/default/bug/create/create.html.tmpl @@ -129,9 +129,10 @@ function set_assign_to() { if (inputElement.name.search(/^flag_type-(\d+)$/) != -1) { var id = inputElement.name.replace(/^flag_type-(\d+)$/, "$1"); inputElement.disabled = true; - // Also disable the requestee field, if it exists. + // Also hide the requestee field, if it exists. inputElement = document.getElementById("requestee_type-" + id); - if (inputElement) inputElement.disabled = true; + if (inputElement) + YAHOO.util.Dom.addClass(inputElement.parentNode, 'bz_default_hidden'); } } // Now enable flags available for the selected component. -- cgit v1.2.3-24-g4f1b