Forgot php was filtering . and .. items.
This commit is contained in:
parent
07a5924e6b
commit
0b607398de
|
@ -7,7 +7,7 @@ function updateHTMLDirList(returnData) {
|
|||
var images = returnData.getElementsByTagName('IMG_FILE');
|
||||
var files = returnData.getElementsByTagName('FILE');
|
||||
var dirImg = "resources/images/icons/folder.png";
|
||||
var i = (dirPath === "./") ? i = 2 : i = 0 ; // RM . and ../ if in "root"
|
||||
var i = 0;
|
||||
var size = 0;
|
||||
|
||||
// Insert dirs
|
||||
|
|
Loading…
Reference in New Issue