forgeplus/app/views/admins/courses/update.js.erb

3 lines
272 B
Plaintext
Raw Normal View History

2020-03-09 00:40:16 +08:00
var index = $("#course-item-<%= @course.id %>").children(":first").html();
$("#course-item-<%= @course.id %>").html("<%= j render partial: "admins/courses/shared/td",locals: {course: @course, no: 1} %>");
$("#course-item-<%= @course.id %>").children(":first").html(index);