Преглед изворни кода

Merge branch 'databank' of http://wcollector.idatabank.com:5230/dbs289/LifeCenter into sudden

huiwonseo пре 4 година
родитељ
комит
ba7ef5c9d7
1 измењених фајлова са 4 додато и 2 уклоњено
  1. 4 2
      src/main/webapp/WEB-INF/jsp/push/list.jsp

+ 4 - 2
src/main/webapp/WEB-INF/jsp/push/list.jsp

@@ -130,7 +130,7 @@ $( function(){
     });
     
     // 즉시발송건 존재할경우 5초마다 새로고침
-    setInterval(sendDirectCheck, 3000);
+    setInterval(sendDirectCheck, 5000);
     
     // modal hide event
     $('#sendResultList').on('hide.bs.modal', function () {
@@ -140,9 +140,11 @@ $( function(){
 
 function sendDirectCheck(){
     if( $( "div.send-loading" ).length > 0 ) {
+        var params = typeof window.location.href.split("?")[1] == "undefined" ? "" : window.location.href.split("?")[1];
+
         $.ajax({
             type: "GET",
-            url : "./list",
+            url : "./list?" + params,
             dataType : "text",
             error : function(){
                 console.log( "error" );