Fix show page not displaying content
This commit is contained in:
parent
b97019553c
commit
b769da091d
|
@ -16,7 +16,7 @@ $(document).ready(function() {
|
|||
function ajax_load_proc(wapper,url,isBanner){
|
||||
$.get(encodeURI(url), {}, function(respText,textSta,XML){
|
||||
if (textSta == 'success') {
|
||||
if (respText.indexOf("<title>") == -1) wapper.html(respText);
|
||||
if (respText.indexOf('<meta charset="utf-8">') == -1) wapper.html(respText);
|
||||
};
|
||||
if(textSta == 'error')
|
||||
wapper.html("Loading Failed<br/> <a href='"+$(this).attr('path')+"'>Go See</a>");
|
||||
|
|
Loading…
Reference in New Issue