fix: 팝업창 닫을때 메세지 다이얼로그 삭제

dev
Jonguk. Lim 4 months ago
parent 66e067e7f5
commit 10071981db

@ -220,15 +220,9 @@
// 저장 // 저장
$P.fnSave = () => { $P.fnSave = () => {
dialog.alert({ let openPage = new AddsFormFields("#${openPage}");
content: "현재 " + $P.control.prefixName + " 정보를 선택 하시겠습니까?" openPage.set (null,$P.control.getCurrent()); // formFields
, init: () => { setDialogZindex(); } dialog.close("bsshPopupDialog");
, onOK: () => {
let openPage = new AddsFormFields("#${openPage}");
openPage.set (null,$P.control.getCurrent()); // formFields
dialog.close("bsshPopupDialog");
}
});
} }
/************************************************************************** /**************************************************************************

@ -392,19 +392,10 @@
// 저장 // 저장
$P.fnSave = () => { $P.fnSave = () => {
dialog.alert({ let openPage = new AddsFormFields("#${openPage}");
content: "현재 " + $P.control.prefixName + " 정보를 선택 하시겠습니까?" productData = {...$P.control.getCurrent(), ...$P.detailControl.getCurrent()}
, init: () => { setDialogZindex(); } openPage.set (null,productData); // formFields
, onOK: () => { dialog.close("productMainDialog");
let openPage = new AddsFormFields("#${openPage}");
productData = {...$P.control.getCurrent(), ...$P.detailControl.getCurrent()}
openPage.set (null,productData); // formFields
//openPage.set (null,$P.DetailControl.getCurrent()); // formFields
dialog.close("productMainDialog");
}
});
} }
/************************************************************************** /**************************************************************************

Loading…
Cancel
Save