|
|
|
@ -28,10 +28,21 @@ function settingPhotoMain(pageName, crdnIdElementId, carInfoFunc, carLinkFunc){
|
|
|
|
|
$("#btnOpenVideoCapture--"+pageName).on('click', () => {
|
|
|
|
|
var crdnId = $("#"+crdnIdElementId).val();
|
|
|
|
|
|
|
|
|
|
window.open(wctx.url("/sprt/sprt03/010/main.do?openerPageName="+pageName+"&"+"crdnId="+crdnId)
|
|
|
|
|
var popupWidth = 1800;
|
|
|
|
|
var popupHeight = 950;
|
|
|
|
|
var popupX = (window.screen.width / 2) - (popupWidth / 2);
|
|
|
|
|
var popupY= (window.screen.height / 2) - (popupHeight / 2);
|
|
|
|
|
|
|
|
|
|
var popup = window.open(wctx.url("/sprt/sprt03/010/main.do?openerPageName="+pageName+"&"+"crdnId="+crdnId)
|
|
|
|
|
,"newVideoCapture"
|
|
|
|
|
,"width=1800,height=950"
|
|
|
|
|
,"width="+popupWidth+", height="+popupHeight+", left="+popupX+", top="+popupY
|
|
|
|
|
);
|
|
|
|
|
$.blockUI({message : ""});
|
|
|
|
|
popup.onload = () => {
|
|
|
|
|
popup.addEventListener('beforeunload', function() {
|
|
|
|
|
$.unblockUI();
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
//편집버튼
|
|
|
|
@ -44,10 +55,21 @@ function settingPhotoMain(pageName, crdnIdElementId, carInfoFunc, carLinkFunc){
|
|
|
|
|
|
|
|
|
|
var fileId = checked.val();
|
|
|
|
|
|
|
|
|
|
window.open(wctx.url("/sprt/sprt03/020/main.do?openerPageName="+pageName+"&"+"fileId="+fileId)
|
|
|
|
|
var popupWidth = 1400;
|
|
|
|
|
var popupHeight = 750;
|
|
|
|
|
var popupX = (window.screen.width / 2) - (popupWidth / 2);
|
|
|
|
|
var popupY= (window.screen.height / 2) - (popupHeight / 2);
|
|
|
|
|
|
|
|
|
|
var popup = window.open(wctx.url("/sprt/sprt03/020/main.do?openerPageName="+pageName+"&"+"fileId="+fileId)
|
|
|
|
|
,"editPhoto"
|
|
|
|
|
,"width=1400,height=750"
|
|
|
|
|
,"width="+popupWidth+", height="+popupHeight+", left="+popupX+", top="+popupY
|
|
|
|
|
);
|
|
|
|
|
$.blockUI({message : ""});
|
|
|
|
|
popup.onload = () => {
|
|
|
|
|
popup.addEventListener('beforeunload', function() {
|
|
|
|
|
$.unblockUI();
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
//삭제버튼
|
|
|
|
|
$("#btnDeleteExistPhoto--"+pageName).on('click', async() => {
|
|
|
|
|