socialforge/app/views/users/show_homework_detail.js.erb

7 lines
399 B
Plaintext
Raw Normal View History

2016-03-05 03:16:04 +08:00
<% if @is_import.to_i == 1 %>
$("#homework_detail_information").html("<%=escape_javascript(render :partial => 'users/homework_detail_information', :locals => {:homework=>@homework}) %>");
$("#choose_courses_notice").html("");
2016-03-05 03:16:04 +08:00
<% else %>
2016-08-03 11:12:55 +08:00
var htmlvalue = "<%= escape_javascript(render :partial => 'users/homework_repository_detail') %>";
2016-08-09 17:09:36 +08:00
pop_box_new(htmlvalue,820,800);
2016-03-03 17:04:38 +08:00
<% end %>