2014-05-27 20:01:21 +08:00
|
|
|
<% if @add_jour.is_comprehensive_evaluation == 1 %>
|
|
|
|
$('#comprehensive_evaluation').html('<%= escape_javascript(render(:partial => 'comprehensive_evaluation',
|
|
|
|
:locals => {:comprehensive_evaluation => @comprehensive_evaluation,:homework => @homework} )) %>');
|
|
|
|
<% else %>
|
|
|
|
$('#message').html('<%= escape_javascript(render(:partial => 'showjour', :locals => {:jour =>@jour, :state => false,:homework => @homework} )) %>');
|
|
|
|
$('#pre_show').html('<%= escape_javascript(render(:partial => 'pre_show', :locals => {:content => nil})) %>');
|
|
|
|
$('#new_form_user_message').val("");
|
|
|
|
$('#new_form_reference_user_id').val("");
|
|
|
|
<% end %>
|