Redmine/app/views/issues/_update_form.js.erb

8 lines
215 B
Plaintext

$('#all_attributes').html('<%= escape_javascript(render :partial => 'form') %>');
<% if User.current.allowed_to?(:log_time, @issue.project) %>
$('#log_time').show();
<% else %>
$('#log_time').hide();
<% end %>