Fixed Reloading problem and generate div only if path argument present

This commit is contained in:
saurabhbhatia 2013-11-13 15:47:12 +08:00
parent a3d921c47a
commit a49562e341
1 changed files with 2 additions and 2 deletions

View File

@ -3,8 +3,8 @@ var banner_index = 0;
$(document).ready(function() { $(document).ready(function() {
$.each($(".dymanic_load"),function(){ $.each($(".dymanic_load"),function(){
if($(this).attr("path")=='' || $(this).attr("path")=='?'){ if($(this).attr("path")==''){
$(this).html("App setting Failed"); $(this).html("");
}else{ }else{
ajax_load_proc($(this),$(this).attr("path")); ajax_load_proc($(this),$(this).attr("path"));
} }