From 50b3197b51ba9d7ea2e8d2e1d733ef84faa3b350 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" Date: Wed, 4 Aug 2010 23:33:06 +0000 Subject: [PATCH] Bug 584032: Cannot set requestees on bug creation r=pyrzak a=LpSolit git-svn-id: svn://10.0.0.236/trunk@260977 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/.bzrrev | 2 +- .../bugzilla/template/en/default/bug/create/create.html.tmpl | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/mozilla/webtools/bugzilla/.bzrrev b/mozilla/webtools/bugzilla/.bzrrev index fcd899db587..8b617fcf242 100644 --- a/mozilla/webtools/bugzilla/.bzrrev +++ b/mozilla/webtools/bugzilla/.bzrrev @@ -1 +1 @@ -7430 \ No newline at end of file +7431 \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/template/en/default/bug/create/create.html.tmpl b/mozilla/webtools/bugzilla/template/en/default/bug/create/create.html.tmpl index f79249946e3..08eb44c4e86 100644 --- a/mozilla/webtools/bugzilla/template/en/default/bug/create/create.html.tmpl +++ b/mozilla/webtools/bugzilla/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.