summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2010-08-05 01:25:23 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2010-08-05 01:25:23 +0200
commit77e18ab703efabe48a0180f04e9c58dc22f72910 (patch)
tree4679fa9d6ba9ae5211aad756f6b3981be707e5da /template/en
parent861fef876f3cb8a50437ee41b6ba4c8d0cb1e239 (diff)
downloadbugzilla-77e18ab703efabe48a0180f04e9c58dc22f72910.tar.gz
bugzilla-77e18ab703efabe48a0180f04e9c58dc22f72910.tar.xz
Bug 584032: Cannot set requestees on bug creation
r=pyrzak a=LpSolit
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/bug/create/create.html.tmpl5
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.