Skip to content

Commit 430b624

Browse files
committed
fix open with tree files
1 parent 259cabc commit 430b624

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

elfinder.go

+3
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,9 @@ func (elf *ElFinderConnector) open() {
152152
for _, item := range elf.Volumes {
153153
ret.Files = append(ret.Files, item.RootFileDir())
154154
}
155+
for _, item := range v.Parents(path,0){
156+
ret.Files = append(ret.Files, item)
157+
}
155158
}
156159
elf.res = &ret
157160
}

0 commit comments

Comments
 (0)