From e56ab317fd907d23dc7ed6692dad94ffc4840f11 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 4 Mar 2013 08:12:56 -0500 Subject: [PATCH] minor changes --- lib/client/viewer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/client/viewer.js b/lib/client/viewer.js index 61f6a1dc..eed5cc73 100644 --- a/lib/client/viewer.js +++ b/lib/client/viewer.js @@ -102,9 +102,9 @@ var CloudCommander, Util, DOM, CloudFunc, $; * function shows FancyBox */ FancyBox.show = function(pCallBack){ - var lPath = DOM.getCurrentPath(); + var lPath = CloudFunc.FS + DOM.getCurrentPath(); - if( Util.checkExtension(CloudFunc.FS + lPath, ['png','jpg', 'gif','ico']) ) + if( Util.checkExtension(lPath, ['png','jpg', 'gif','ico']) ) $.fancybox.open({ href : lPath }, Config); else DOM.getCurrentData(function(pParams){