git-svn-id: https://svn.redmine.org/redmine/trunk@21580 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/5.1.0
@@ -4,3 +4,11 @@ replaceIssueFormWith('<%= escape_javascript(render :partial => 'form') %>'); | |||
<% else %> | |||
$('#log_time').hide(); | |||
<% end %> | |||
<% if @issue.notes_addable? %> | |||
$('#add_notes').show(); | |||
$('#add_attachments').show(); | |||
<% else %> | |||
$('#add_notes').hide(); | |||
$('#add_attachments').hide(); | |||
<% end %> |