mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
minor changes
This commit is contained in:
parent
43769b0a13
commit
e56ab317fd
1 changed files with 2 additions and 2 deletions
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue