Filemanager: uploading file in a target folder results in return to main folder

Hi,

We are using the Filemanager widget and are currently experiencing a glitch during upload of files. We have a number of folders, and every time we upload file(s) in a specific folder, the widget automatically jumps back to the main “Files” view (outside of the folder in which we were making the upload). The file gets uploaded in the proper folder successfully, but is it possible to have the user remain in the folder in which they were doing the upload? The problem has been detected in a number of different browsers. Do you happen to have a fix for it?

We were also wondering if it’s possible to have the column sorting arrows visible at all times? Some users might not be aware of the feature as it only appears after someone has clicked on the column title.

Thank you!

Hi,

Do you have some specific code attached to upload related events? What is the response for the file uploading?

When an error occurs during some server side operation, and server side response is not valid. Filemanager may attempt to reload data to sync self with actual server side state. As result of such sync, the current folder can change to the root one ( similar to the situation in your case )

Check
https://docs.webix.com/file_manager__loading_data.html#requestsandresponsesfordifferentoperations

For file uploading, response must be a valid json with id and value parameters ( where value is the name of the file after saving on a server-side )

to have the column sorting arrows visible at all times

There is no built in solution, but can be done rather easily through CSS ( you can add some default background image to the header of files table through CSS )