mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-13 08:15:55 +08:00
init project
This commit is contained in:
3
app/views/admins/laboratories/update.js.erb
Normal file
3
app/views/admins/laboratories/update.js.erb
Normal file
@@ -0,0 +1,3 @@
|
||||
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);
|
||||
Reference in New Issue
Block a user