minor changes

This commit is contained in:
coderaiser 2013-03-04 08:12:56 -05:00
parent 43769b0a13
commit e56ab317fd

View file

@ -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){