자료 삭제 후 재조회시 로딩아이콘 추가

main
이범준 1 year ago
parent b093874cdf
commit 93217f6299

@ -131,8 +131,7 @@
</ul> </ul>
</div> </div>
<span class="container-window-btn-right"> <span class="container-window-btn-right">
<button type="button" id="" class="btn btn-primary" title="업무처리1">업무 처리1</button>
<button type="button" id="" class="btn btn-primary" title="업무처리2">업무 처리2</button>
</span> </span>
</div> </div>
</div> </div>

@ -284,7 +284,7 @@ $(document).ready(function(){
$P.crdnControl.onRemove = (selected, resp) => { $P.crdnControl.onRemove = (selected, resp) => {
if (resp.saved){ if (resp.saved){
$P.toast.show(); $P.toast.show();
$P.refreshCrdnList(); sleep(1000).then(() => $P.refreshCrdnList());
} }
} }

@ -289,7 +289,7 @@ $(document).ready(function(){
$P.crdnControl.onRemove = (selected, resp) => { $P.crdnControl.onRemove = (selected, resp) => {
if (resp.saved){ if (resp.saved){
$P.toast.show(); $P.toast.show();
$P.refreshCrdnList(); sleep(1000).then(() => $P.refreshCrdnList());
} }
} }

@ -249,8 +249,7 @@ $(document).ready(function(){
if (resp.saved){ if (resp.saved){
$("#toastText--${pageName}").html("삭제 되었습니다."); $("#toastText--${pageName}").html("삭제 되었습니다.");
$P.toast.show(); $P.toast.show();
sleep(1000).then(() => $P.refreshDmndList());
$P.refreshDmndList();
} }
} }
@ -440,7 +439,7 @@ $(document).ready(function(){
$P.toast.show(); $P.toast.show();
if(!$P.dmndControl.dataset.empty){ if(!$P.dmndControl.dataset.empty){
$P.refreshDmndList(); sleep(1000).then(() => $P.refreshDmndList());
} }
} }
} }

@ -612,7 +612,7 @@ $(document).ready(function(){
success : resp => { success : resp => {
if(resp.saved){ if(resp.saved){
$P.toast.show(); $P.toast.show();
$P.refreshAnsWordsInfo(); sleep(1000).then(() => $P.refreshAnsWordsInfo());
} }
} }
}); });
@ -635,7 +635,7 @@ $(document).ready(function(){
success : resp => { success : resp => {
if(resp.saved){ if(resp.saved){
$P.toast.show(); $P.toast.show();
$P.refreshAnsWordsInfo(); sleep(1000).then(() => $P.refreshAnsWordsInfo());
} }
} }
}); });

@ -289,7 +289,7 @@ $(document).ready(function(){
success : resp => { success : resp => {
if(resp.saved){ if(resp.saved){
$P.toast.show(); $P.toast.show();
$P.refreshWarningWordsInfo(); sleep(1000).then(() => $P.refreshWarningWordsInfo());
} }
} }
}); });

Loading…
Cancel
Save