Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes Studio-42#3689, fm.sync removes unavailable volumes.
This is an amendment to the previous commit. When invoking the refresh action on a non-root folder, ElFinder also makes a "tree" request to the server and adds all root volumes it currently knows about. Sinc other parts of the code might rely upon this behavior (such as tree.js), remove non-existent volumes from the response to the tree command in the fm.sync method.
- Loading branch information