diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2013-07-01 04:27:03 +0200 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2013-07-01 04:27:03 +0200 |
commit | c0d8fdff6fb842bfa574465cfe0d465e60c1e5f5 (patch) | |
tree | f6994aa2cfd0a3c4bcf6698f4dbcf75cd368f1c7 /extensions/Needinfo | |
parent | 719ada15c6080a14104e5524396304396e8059bf (diff) | |
download | bugzilla-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')
-rw-r--r-- | extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl | 2 |
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() { |