레이어 팝업

This commit is contained in:
KNKIM 2021-09-09 16:19:34 +09:00
parent 0849e59cc6
commit 76bee6857c
8 changed files with 20 additions and 1 deletions

View File

@ -97,6 +97,25 @@ function fn_myAlert(newAlertNum) {
return;
}
fn_openLayerPopup("알림", "아직 확인하지 않은 새로운 알림이 " + newAlertNum + "건 있습니다", "알림 목록으로", CONTEXT_PATH + "/cmm/listAlerts.do");
fn_openLayerPopup("알림", "아직 확인하지 않은 새로운 알림이 " + newAlertNum + "건 있습니다", "알림 목록으로", CONTEXT_PATH + "/cmm/listNotifications.do");
}
function fn_layerPop(url) {
$("#NLIB_LAYER_POPUP").load(url);
$("#NLIB_LAYER_POPUP").show();
}
function fn_layerPopFormSubmit(formName) {
var dataList = $("#" + formName).serialize();
var url = $("#" + formName).attr('action');
$("#NLIB_LAYER_POPUP").show();
$.ajax({
type: "post",
url: url,
data: dataList
}).done(function(response){
$("#" + formName).html(response);
});
}