Orbit/public/static/kernel.js

20 lines
446 B
JavaScript
Raw Normal View History

$(document).ready(function() {
2011-12-23 10:34:21 +00:00
$.each($(".dymanic_load"),function(){
2011-12-23 10:34:21 +00:00
if($(this).attr("path")==''){$(this).html("App setting Failed");}
if($(this).attr("path")!=''){
ajax_load_proc($(this),$(this).attr("path"));
}
2011-12-23 10:34:21 +00:00
}
);
2011-11-19 17:26:24 +00:00
$("#main_content").addClass("module");
2011-12-23 10:34:21 +00:00
});
function ajax_load_proc(wapper,url){
wapper.load(url,function(respText,textSta,XML){
if(textSta == 'error')
wapper.html("Loading Failed");
});
}