12 lines
453 B
Plaintext
12 lines
453 B
Plaintext
hideModal();
|
|
<% if @submit_result%>
|
|
var htmlvalue = '<%= escape_javascript(render :partial => 'student_work/work_edit_information') %>';
|
|
pop_box_new(htmlvalue, 500, 400);
|
|
<% else %>
|
|
window.location.href = '<%= edit_student_work_url(@work)%>';
|
|
<% end %>
|
|
|
|
function clickCanel() {
|
|
hideModal('#popbox02');
|
|
window.location.href= "<%= Setting.protocol%>://"+"<%= Setting.host_name%>"+"/student_work?homework=" + "<%= @homework.id%>&tab=2"
|
|
} |