Skip to content

Commit

Permalink
fix open with tree files
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeEirc committed Dec 6, 2019
1 parent 259cabc commit 430b624
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions elfinder.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@ func (elf *ElFinderConnector) open() {
for _, item := range elf.Volumes {
ret.Files = append(ret.Files, item.RootFileDir())
}
for _, item := range v.Parents(path,0){
ret.Files = append(ret.Files, item)
}
}
elf.res = &ret
}
Expand Down

0 comments on commit 430b624

Please sign in to comment.