Merge with sub_roles

This commit is contained in:
chris2tof committed 2011-12-23 18:34:21 +08:00
1 parent fc591ee308
commit 62aaf79491
308 files changed
+2844 -17841

No files matched your search

+15 -6
View File
@@ -1,11 +1,20 @@
$(document).ready(function() {
$.each($(".dymanic_load"),function(){
$(this).load($(this).attr("path"),
function(respText,textSta,XML){
if(textSta == 'error')
{$(this).html("Loading Failed");}
});
if($(this).attr("path")==''){$(this).html("App setting Failed");}
if($(this).attr("path")!=''){
ajax_load_proc($(this),$(this).attr("path"));
}
}
);
$("#main_content").addClass("module");
});
});
function ajax_load_proc(wapper,url){
wapper.load(url,function(respText,textSta,XML){
if(textSta == 'error')
wapper.html("Loading Failed");
});
}