mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 17:05:17 +00:00
fixed image path
This commit is contained in:
parent
76cc0dc48b
commit
d3beb2e722
2 changed files with 4 additions and 8573 deletions
8569
lib/client/jquery-ui/jquery-ui-1.8.23.custom.js
vendored
8569
lib/client/jquery-ui/jquery-ui-1.8.23.custom.js
vendored
File diff suppressed because it is too large
Load diff
|
|
@ -1,8 +1,8 @@
|
|||
var CloudCommander, Util, DOM, $;
|
||||
var CloudCommander, Util, DOM, CloudFunc, $;
|
||||
/* object contains viewer FancyBox
|
||||
* https://github.com/fancyapps/fancyBox
|
||||
*/
|
||||
(function(CloudCmd, Util, DOM){
|
||||
(function(CloudCmd, Util, DOM, CloudFunc){
|
||||
'use strict';
|
||||
|
||||
var KeyBinding = CloudCmd.KeyBinding,
|
||||
|
|
@ -104,7 +104,7 @@ var CloudCommander, Util, DOM, $;
|
|||
FancyBox.show = function(pCallBack){
|
||||
var lPath = DOM.getCurrentPath();
|
||||
|
||||
if( Util.checkExtension(lPath, ['png','jpg', 'gif','ico']) )
|
||||
if( Util.checkExtension(CloudFunc.FS + lPath, ['png','jpg', 'gif','ico']) )
|
||||
$.fancybox.open({ href : lPath }, Config);
|
||||
else
|
||||
DOM.getCurrentData(function(pParams){
|
||||
|
|
@ -153,4 +153,4 @@ var CloudCommander, Util, DOM, $;
|
|||
|
||||
CloudCmd.Viewer.FancyBox = FancyBox;
|
||||
|
||||
})(CloudCommander, Util, DOM);
|
||||
})(CloudCommander, Util, DOM, CloudFunc);
|
||||
Loading…
Add table
Add a link
Reference in a new issue