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

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

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

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

Loading…
Cancel
Save