summaryrefslogtreecommitdiffstats
path: root/extensions/Needinfo/template/en
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-07-01 04:27:03 +0200
committerDave Lawrence <dlawrence@mozilla.com>2013-07-01 04:27:03 +0200
commitc0d8fdff6fb842bfa574465cfe0d465e60c1e5f5 (patch)
treef6994aa2cfd0a3c4bcf6698f4dbcf75cd368f1c7 /extensions/Needinfo/template/en
parent719ada15c6080a14104e5524396304396e8059bf (diff)
downloadbugzilla-c0d8fdff6fb842bfa574465cfe0d465e60c1e5f5.tar.gz
bugzilla-c0d8fdff6fb842bfa574465cfe0d465e60c1e5f5.tar.xz
Bug 888760 - Needinfo with "Other" address data, then changed to "Reporter" still checks validity of "Other"
Diffstat (limited to 'extensions/Needinfo/template/en')
-rw-r--r--extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl b/extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl
index eff05be29..22cf3a168 100644
--- a/extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl
+++ b/extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl
@@ -65,8 +65,10 @@
function needinfo_visibility() {
if (YAHOO.util.Dom.get('needinfo_role').value == 'other') {
YAHOO.util.Dom.removeClass('needinfo_from_container', 'bz_default_hidden');
+ YAHOO.util.Dom.get('needinfo_from').disabled = false;
} else {
YAHOO.util.Dom.addClass('needinfo_from_container', 'bz_default_hidden');
+ YAHOO.util.Dom.get('needinfo_from').disabled = true;
}
}
function needinfo_focus() {