summaryrefslogtreecommitdiffstats
path: root/app/views/issues/update_form.js.erb
blob: 8c94aecebdfa5dd0adf3e4c00dec163841f66ea1 (plain)
1
2
3
4
5
6
7
replaceIssueFormWith('<%= escape_javascript(render :partial => 'form') %>');

<% if User.current.allowed_to?(:log_time, @issue.project) %>
  $('#log_time').show();
<% else %>
  $('#log_time').hide();
<% end %>