레이어 팝업
This commit is contained in:
parent
0849e59cc6
commit
76bee6857c
@ -97,6 +97,25 @@ function fn_myAlert(newAlertNum) {
|
|||||||
return;
|
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);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user