mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
3 lines
325 B
Plaintext
3 lines
325 B
Plaintext
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); |