diff --git a/app/assets/javascripts/kernel.js b/app/assets/javascripts/kernel.js index f331a2b0..4bcbe2b4 100644 --- a/app/assets/javascripts/kernel.js +++ b/app/assets/javascripts/kernel.js @@ -3,7 +3,7 @@ var banner_index = 0; $(document).ready(function() { $.each($(".dymanic_load"),function(){ - if($(this).attr("path")==''){ + if($(this).attr("path")=='' || $(this).attr("path")=='?'){ $(this).html("App setting Failed"); }else{ ajax_load_proc($(this),$(this).attr("path")); @@ -16,7 +16,7 @@ $(document).ready(function() { function ajax_load_proc(wapper,url,isBanner){ $.get(encodeURI(url), {}, function(respText,textSta,XML){ if (textSta == 'success') { - wapper.html(respText); + if (respText.indexOf("