문자 재전송시 location.reload => location.href 로 변경 재전송 문자가 발송후 또 나옴
재전송 문자가 발송후 또 나옴
@83e9396be243ed4515a43cceb4124afc9b463945
--- src/main/webapp/WEB-INF/jsp/web/msgcampain/MsgDataView.jsp
+++ src/main/webapp/WEB-INF/jsp/web/msgcampain/MsgDataView.jsp
... | ... | @@ -197,6 +197,11 @@ |
| 197 | 197 |
}); |
| 198 | 198 |
} |
| 199 | 199 |
|
| 200 |
+//문자발송 URL Move |
|
| 201 |
+function goMsgUrlMove() {
|
|
| 202 |
+ document.location.href = "/web/mjon/msgcampain/selectMsgDataView.do"; |
|
| 203 |
+} |
|
| 204 |
+ |
|
| 200 | 205 |
function listMsgDataView(){
|
| 201 | 206 |
|
| 202 | 207 |
var sendData = $(document.searchForm).serializeArray() ; |
... | ... | @@ -1459,7 +1464,8 @@ |
| 1459 | 1464 |
}else if("statusFail" == returnData.result){
|
| 1460 | 1465 |
|
| 1461 | 1466 |
alert(returnData.message); |
| 1462 |
- location.reload(); |
|
| 1467 |
+ //문자발송 URL Move |
|
| 1468 |
+ goMsgUrlMove(); |
|
| 1463 | 1469 |
return false; |
| 1464 | 1470 |
|
| 1465 | 1471 |
}else{
|
... | ... | @@ -1708,7 +1714,8 @@ |
| 1708 | 1714 |
}else if("statusFail" == returnData.result){
|
| 1709 | 1715 |
|
| 1710 | 1716 |
alert(returnData.message); |
| 1711 |
- location.reload(); |
|
| 1717 |
+ //문자발송 URL Move |
|
| 1718 |
+ goMsgUrlMove(); |
|
| 1712 | 1719 |
return false; |
| 1713 | 1720 |
|
| 1714 | 1721 |
}else{
|
... | ... | @@ -1880,7 +1887,8 @@ |
| 1880 | 1887 |
|
| 1881 | 1888 |
function msgSuccessClose(obj){
|
| 1882 | 1889 |
$(obj).closest('.pop_msg_success').attr('style','');
|
| 1883 |
- location.reload(true); |
|
| 1890 |
+ //문자발송 URL Move |
|
| 1891 |
+ goMsgUrlMove(); |
|
| 1884 | 1892 |
$('html').scrollTop(0);
|
| 1885 | 1893 |
} |
| 1886 | 1894 |
|
--- src/main/webapp/WEB-INF/jsp/web/msgdata/MsgDataView.jsp
+++ src/main/webapp/WEB-INF/jsp/web/msgdata/MsgDataView.jsp
... | ... | @@ -228,6 +228,10 @@ |
| 228 | 228 |
}); |
| 229 | 229 |
} |
| 230 | 230 |
|
| 231 |
+// 문자발송 URL Move |
|
| 232 |
+function goMsgUrlMove() {
|
|
| 233 |
+ document.location.href = "/web/mjon/msgdata/selectMsgDataView.do"; |
|
| 234 |
+} |
|
| 231 | 235 |
|
| 232 | 236 |
function listMsgDataView(){
|
| 233 | 237 |
|
... | ... | @@ -1668,7 +1672,8 @@ |
| 1668 | 1672 |
}else if("statusFail" == returnData.result){
|
| 1669 | 1673 |
|
| 1670 | 1674 |
alert(returnData.message); |
| 1671 |
- location.reload(); |
|
| 1675 |
+ //문자발송 URL Move |
|
| 1676 |
+ goMsgUrlMove(); |
|
| 1672 | 1677 |
return false; |
| 1673 | 1678 |
|
| 1674 | 1679 |
}else{
|
... | ... | @@ -1917,7 +1922,8 @@ |
| 1917 | 1922 |
}else if("statusFail" == returnData.result){
|
| 1918 | 1923 |
|
| 1919 | 1924 |
alert(returnData.message); |
| 1920 |
- location.reload(); |
|
| 1925 |
+ //문자발송 URL Move |
|
| 1926 |
+ goMsgUrlMove(); |
|
| 1921 | 1927 |
return false; |
| 1922 | 1928 |
|
| 1923 | 1929 |
}else{
|
... | ... | @@ -2077,7 +2083,8 @@ |
| 2077 | 2083 |
|
| 2078 | 2084 |
function msgSuccessClose(obj){
|
| 2079 | 2085 |
$(obj).closest('.pop_msg_success').attr('style','');
|
| 2080 |
- location.reload(true); |
|
| 2086 |
+ //문자발송 URL Move |
|
| 2087 |
+ goMsgUrlMove(); |
|
| 2081 | 2088 |
$('html').scrollTop(0);
|
| 2082 | 2089 |
} |
| 2083 | 2090 |
|
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?