mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 17:35:34 +00:00
added beforeLoad property
This commit is contained in:
parent
af21b2148c
commit
cbb8e538d0
1 changed files with 2 additions and 1 deletions
|
|
@ -48,7 +48,8 @@ CloudCommander.Viewer.FancyBox = {
|
|||
var lA = lPanel.getElementsByTagName('a');
|
||||
|
||||
var lName;
|
||||
for (var i=0; i < lA.length; i++) {
|
||||
/* first two is not files nor folders*/
|
||||
for (var i=2; i < lA.length; i++) {
|
||||
lName = lA[i].title || lA[i].textContent;
|
||||
|
||||
CloudFunc.checkExtension(lName,['png','jpg']) &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue