diff options
Diffstat (limited to 'extensions/Needinfo/template')
-rw-r--r-- | extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl | 4 |
1 files changed, 4 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 75ec90b89..46083e108 100644 --- a/extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl +++ b/extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl @@ -102,8 +102,12 @@ $(function() { function new_needinfo_changed(event) { if ($('#needinfo').is(':checked') && $('#needinfo_role').val() === 'other') { + $('#needinfo_from').prop('required', true); $('#needinfo_from').focus().select(); } + else { + $('#needinfo_from').prop('required', false); + } } function existing_needinfo_changed(event) { |