회원가입 창, 동영상캡처, 이미지편집 창 열릴 때 부모창 비활성화

main
이범준 8 months ago
parent 4281776f20
commit cd4585dc3c

@ -533,10 +533,21 @@ $(document).ready(function(){
$("#btnAddFile--${pageName}").on('click', () => { $("#inputUploadSet--${pageName}").trigger("click"); }); $("#btnAddFile--${pageName}").on('click', () => { $("#inputUploadSet--${pageName}").trigger("click"); });
$("#btnOpenVideoCapture--${pageName}").on('click', () => { $("#btnOpenVideoCapture--${pageName}").on('click', () => {
window.open(wctx.url("/sprt/sprt03/010/main.do?openerPageName=${pageName}") 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}")
,"newVideoCapture" ,"newVideoCapture"
,"width=1800,height=950" ,"width="+popupWidth+", height="+popupHeight+", left="+popupX+", top="+popupY
); );
popup.onload = () => {
popup.addEventListener('beforeunload', function() {
$.unblockUI();
});
};
}); });
$("#btnCancelAddFile--${pageName}").on('click', () => { $("#btnCancelAddFile--${pageName}").on('click', () => {

@ -296,11 +296,22 @@ function fnOpenEqmCrdnLayoutStngDialog(){
function fnOpenMyInfo(){ function fnOpenMyInfo(){
window.open( var popupWidth = 950;
var popupHeight = 500;
var popupX = (window.screen.width / 2) - (popupWidth / 2);
var popupY= (window.screen.height / 2) - (popupHeight / 2);
var popup = window.open(
wctx.url("/user/openMyInfo.do") wctx.url("/user/openMyInfo.do")
,"changeMyInfo" ,"changeMyInfo"
,'top=10, left=10, width=950, height=500' ,"width="+popupWidth+", height="+popupHeight+", left="+popupX+", top="+popupY
); );
popup.onload = () => {
popup.addEventListener('beforeunload', function() {
$.unblockUI();
});
};
} }
function fnOpenChangePassword(){ function fnOpenChangePassword(){

@ -164,11 +164,23 @@ function fnOpenSignup(){
alert("기관을 선택하세요."); alert("기관을 선택하세요.");
return; return;
} }
dialog.close("selectInstDialog"); dialog.close("selectInstDialog");
window.open(wctx.url("/signupPage.do")+"?institute="+$("#selectInst").val(),
var popupWidth = 950;
var popupHeight = 500;
var popupX = (window.screen.width / 2) - (popupWidth / 2);
var popupY= (window.screen.height / 2) - (popupHeight / 2);
var popup = window.open(wctx.url("/signupPage.do")+"?institute="+$("#selectInst").val(),
"regAccount", "regAccount",
"width=950, height=500"); "width="+popupWidth+", height="+popupHeight+", left="+popupX+", top="+popupY);
$.blockUI({message : ""});
popup.onload = () => {
popup.addEventListener('beforeunload', function() {
$.unblockUI();
});
};
}, },
onClose : () => {} onClose : () => {}
}); });

@ -28,10 +28,21 @@ function settingPhotoMain(pageName, crdnIdElementId, carInfoFunc, carLinkFunc){
$("#btnOpenVideoCapture--"+pageName).on('click', () => { $("#btnOpenVideoCapture--"+pageName).on('click', () => {
var crdnId = $("#"+crdnIdElementId).val(); 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" ,"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(); 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" ,"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() => { $("#btnDeleteExistPhoto--"+pageName).on('click', async() => {

Loading…
Cancel
Save