add
This commit is contained in:
+9
-11
@@ -119,17 +119,15 @@
|
|||||||
},
|
},
|
||||||
error: function(XMLHttpRequest, textStatus, errorThrown) {
|
error: function(XMLHttpRequest, textStatus, errorThrown) {
|
||||||
localStorage.setItem("showLoanMenu", false);
|
localStorage.setItem("showLoanMenu", false);
|
||||||
if(errorThrown == 'abort'){
|
if(plus.webview.getWebviewById('error.html')==null){
|
||||||
if(plus.webview.getWebviewById('error.html')==null){
|
clicked('error.html',true,false,{},{},function(){
|
||||||
clicked('error.html',true,false,{},{},function(){
|
window.location.reload();
|
||||||
window.location.reload();
|
})
|
||||||
})
|
}else{
|
||||||
}else{
|
$(".loadingBg").hide();
|
||||||
$(".loadingBg").hide();
|
plus.nativeUI.closeWaiting();
|
||||||
plus.nativeUI.closeWaiting();
|
plus.webview.getWebviewById("error.html").show();
|
||||||
plus.webview.getWebviewById("error.html").show();
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user