diff --git a/src/main/webapp/WEB-INF/jsp/web/reservedmsg/ReservedMsgView.jsp b/src/main/webapp/WEB-INF/jsp/web/reservedmsg/ReservedMsgView.jsp index ce310f7f..9f9b9acc 100644 --- a/src/main/webapp/WEB-INF/jsp/web/reservedmsg/ReservedMsgView.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/reservedmsg/ReservedMsgView.jsp @@ -145,7 +145,7 @@ function linkPage(pageNo){ form.pageIndex.value = pageNo; var sendData = $(document.searchForm).serializeArray(); - $(".resvMsgAllLoad").html('
LOADING...1
'); + $(".resvMsgAllLoad").html('
LOADING...
'); $(".resvMsgAllLoad").load("/web/mjon/reservmsg/selectReservMsgListViewAjax.do", sendData ,function(response, status, xhr){ }); @@ -303,7 +303,7 @@ function fnReservCancel(msgGroupId, agentCode, msgType){ url: url, data: data, dataType:'json', - async: false, + async: true, processData: false, contentType: false, cache: false, @@ -328,7 +328,17 @@ function fnReservCancel(msgGroupId, agentCode, msgType){ alert(returnData.message); } }, - error: function (e) { alert("예약 취소에 실패하였습니다."); console.log("ERROR : ", e); } + error: function (e) { + alert("예약 취소에 실패하였습니다."); console.log("ERROR : ", e); + }, + beforeSend : function(xmlHttpRequest) { + //로딩창 show + $('.loading_layer').addClass('active'); + }, + complete : function(xhr, textStatus) { + //로딩창 hide + $('.loading_layer').removeClass('active'); + } }); } @@ -385,6 +395,14 @@ function infoPop(pageUrl){ document.popForm.submit(); } + +
+
+
+
Loading
+
+
+