Fix show page not displaying content

This commit is contained in:
manson 2014-06-16 14:27:27 +08:00
parent 504f47ce2b
commit f9013218db
1 changed files with 1 additions and 1 deletions

View File

@ -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>");