diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2010-08-05 01:25:23 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2010-08-05 01:25:23 +0200 |
commit | 77e18ab703efabe48a0180f04e9c58dc22f72910 (patch) | |
tree | 4679fa9d6ba9ae5211aad756f6b3981be707e5da | |
parent | 861fef876f3cb8a50437ee41b6ba4c8d0cb1e239 (diff) | |
download | bugzilla-77e18ab703efabe48a0180f04e9c58dc22f72910.tar.gz bugzilla-77e18ab703efabe48a0180f04e9c58dc22f72910.tar.xz |
Bug 584032: Cannot set requestees on bug creation
r=pyrzak a=LpSolit
-rw-r--r-- | template/en/default/bug/create/create.html.tmpl | 5 |
1 files changed, 3 insertions, 2 deletions
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. |