route fixed.

This commit is contained in:
Harry Bomrah 2012-04-05 13:58:58 +08:00
parent 07dadbef70
commit e0f5583f43
1 changed files with 2 additions and 2 deletions

View File

@ -178,7 +178,7 @@ var orbitDesktop = function(dom){
$('#holder').tinyscrollbar({ axis: 'x'});
}
if(!o.desktopData[o.currentface]){
$(o.contentHolder).empty().load("desktop_pages/"+target,function(){
$(o.contentHolder).empty().load("/desktop/"+target,function(){
bindHandlers();
});
}else{
@ -218,7 +218,7 @@ var orbitDesktop = function(dom){
$('#holder').tinyscrollbar({ axis: 'x'});
};
if(!o.desktopData[o.currentface]){
$(o.contentHolder).empty().load("/"+target,function(){
$(o.contentHolder).empty().load("/desktop/"+target,function(){
bindHandlers();
});
}else{