Merge branches 'develop' and 'jupyter' of https://bdgit.educoder.net/Hjqreturn/educoder into jupyter
commit
34b86f9782
@ -1 +1,3 @@
|
|||||||
$("#course-item-<%= @course.id %>").html("<%= j render partial: "admins/courses/shared/td",locals: {course: @course} %>")
|
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);
|
@ -1,4 +1,6 @@
|
|||||||
$('.modal.admin-add-department-member-modal').modal('hide');
|
$('.modal.admin-add-department-member-modal').modal('hide');
|
||||||
$.notify({ message: '操作成功' });
|
$.notify({ message: '操作成功' });
|
||||||
|
|
||||||
$('.department-list-table .department-item-<%= current_department.id %>').html("<%= j(render partial: 'admins/departments/shared/department_item', locals: { department: current_department }) %>")
|
var index = $(".department-item-<%= current_department.id %>").children(":first").html();
|
||||||
|
$('.department-list-table .department-item-<%= current_department.id %>').html("<%= j(render partial: 'admins/departments/shared/department_item', locals: { department: current_department, index: 1 }) %>");
|
||||||
|
$(".department-item-<%= current_department.id %>").children(":first").html(index);
|
@ -1,4 +1,6 @@
|
|||||||
$('.modal.admin-edit-department-modal').modal('hide');
|
$('.modal.admin-edit-department-modal').modal('hide');
|
||||||
$.notify({ message: '操作成功' });
|
$.notify({ message: '操作成功' });
|
||||||
|
|
||||||
$('.department-list-table .department-item-<%= current_department.id %>').html("<%= j(render partial: 'admins/departments/shared/department_item', locals: { department: current_department }) %>")
|
var index = $(".department-item-<%= current_department.id %>").children(":first").html();
|
||||||
|
$('.department-list-table .department-item-<%= current_department.id %>').html("<%= j(render partial: 'admins/departments/shared/department_item', locals: {department: current_department, index: 1}) %>");
|
||||||
|
$(".department-item-<%= current_department.id %>").children(":first").html(index);
|
@ -1 +1,3 @@
|
|||||||
$(".laboratory-item-<%= @laboratory.id %>").html("<%= j render partial: "admins/laboratories/shared/laboratory_item",locals: {laboratory: @laboratory} %>")
|
var index = $(".laboratory-item-<%= @laboratory.id %>").children(":first").html();
|
||||||
|
$(".laboratory-item-<%= @laboratory.id %>").html("<%= j render partial: "admins/laboratories/shared/laboratory_item",locals: {laboratory: @laboratory, index: 1} %>");
|
||||||
|
$(".laboratory-item-<%= @laboratory.id %>").children(":first").html(index);
|
@ -1 +1,3 @@
|
|||||||
$("#laboratory-item-<%= @laboratory.id %>").html("<%= j render partial: 'admins/laboratories/shared/laboratory_item', locals: {laboratory: @laboratory} %>")
|
var index = $(".laboratory-item-<%= @laboratory.id %>").children(":first").html();
|
||||||
|
$("#laboratory-item-<%= @laboratory.id %>").html("<%= j render partial: 'admins/laboratories/shared/laboratory_item', locals: {laboratory: @laboratory, index: 1} %>");
|
||||||
|
$(".laboratory-item-<%= @laboratory.id %>").children(":first").html(index);
|
@ -1,4 +1,6 @@
|
|||||||
$('.modal.admin-add-laboratory-user-modal').modal('hide');
|
$('.modal.admin-add-laboratory-user-modal').modal('hide');
|
||||||
$.notify({ message: '操作成功' });
|
$.notify({ message: '操作成功' });
|
||||||
|
|
||||||
$('.laboratory-list-table .laboratory-item-<%= current_laboratory.id %>').html("<%= j(render partial: 'admins/laboratories/shared/laboratory_item', locals: { laboratory: current_laboratory }) %>")
|
var index = $(".laboratory-item-<%= current_laboratory.id %>").children(":first").html();
|
||||||
|
$('.laboratory-list-table .laboratory-item-<%= current_laboratory.id %>').html("<%= j(render partial: 'admins/laboratories/shared/laboratory_item', locals: {laboratory: current_laboratory, index: 1}) %>");
|
||||||
|
$(".laboratory-item-<%= current_laboratory.id %>").children(":first").html(index);
|
Loading…
Reference in new issue