socialforge/app/views/issues/update_form.js.erb

8 lines
257 B
Plaintext
Raw Normal View History

2013-08-01 10:33:49 +08:00
$('#all_attributes').html('<%= escape_javascript(render :partial => 'form') %>');
2013-09-03 22:26:33 +08:00
$(.splitcontent).style("display", "block")
2013-08-01 10:33:49 +08:00
<% if User.current.allowed_to?(:log_time, @issue.project) %>
$('#log_time').show();
<% else %>
$('#log_time').hide();
<% end %>