|
|
|
@ -332,7 +332,7 @@
|
|
|
|
|
|
|
|
|
|
var template = document.getElementById("imgCheckboxTemplate--${pageName}").innerHTML;
|
|
|
|
|
|
|
|
|
|
template = template.replace(/{name}/gi, "dsusePrdImgFilesSlector");
|
|
|
|
|
template = template.replace(/{name}/gi, "dsuseDsuseImgFilesSelector");
|
|
|
|
|
template = template.replace(/{value}/gi, item.id);
|
|
|
|
|
|
|
|
|
|
template = template.replace(/{src}/gi, item.url);
|
|
|
|
@ -377,7 +377,7 @@
|
|
|
|
|
|
|
|
|
|
//이미지 삭제 버튼
|
|
|
|
|
$("#btnImageDel--${pageName}").on("click", function() {
|
|
|
|
|
var checkeds = $("#dragAndDrop--${pageName}").find(":checkbox[name='dsusePrdImgFilesSlector']:checked");
|
|
|
|
|
var checkeds = $("#dragAndDrop--${pageName}").find(":checkbox[name='dsuseDsuseImgFilesSelector']:checked");
|
|
|
|
|
if(checkeds.length > 0){
|
|
|
|
|
var keys = [];
|
|
|
|
|
checkeds.each(function(){
|
|
|
|
|