Authored by 陶雨

修复资源内容无法拖动的问题

... ... @@ -702,9 +702,9 @@ $(document).on("click", ".removepic", function () {
}));
});
$(document).on("mouseover", "#add-content .dragItem", function () {
var drag = new common.drag("#add-content", Bll.contentDatas, function (data) {
Bll.contentDatas = data;
Bll.__render("#add-content", "template_content", {modules: Bll.contentDatas});
var drag = new common.drag("#add-content", Bll.contentDatas[currIndex], function (data) {
Bll.contentDatas[currIndex] = data;
Bll.__render("#add-content", "template_content", {modules: Bll.contentDatas[currIndex]});
})
drag.Initialize();
});
... ...