From e0f5583f43b4c95bdbc33119a8e654fb64084d0d Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Thu, 5 Apr 2012 13:58:58 +0800 Subject: [PATCH] route fixed. --- app/assets/javascripts/orbitdesktop.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/orbitdesktop.js b/app/assets/javascripts/orbitdesktop.js index 8fe54fed..3e4e5e6c 100755 --- a/app/assets/javascripts/orbitdesktop.js +++ b/app/assets/javascripts/orbitdesktop.js @@ -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{