route fixed.

This commit is contained in:
Harry Bomrah 2012-04-05 13:58:58 +08:00 committed by Christophe Vilayphiou
parent 3acd8a86c7
commit b2c9229099
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{