Hi, how can i get all items of a folder?. Then problem is that I´m using a proxy in the handles of fm, but when i put the proxy in downlaod handler, i get the error
TypeError: url.indexOf is not a function
webix.js:30139:40
_get_active_url http://10.2.1.135/intrahcg/webix/codebase/webix.js:30139
send http://10.2.1.135/intrahcg/webix/codebase/webix.js:15897
addFile http://10.2.1.135/intrahcg/webix/codebase/webix.js:30123
_add_files http://10.2.1.135/intrahcg/webix/codebase/webix.js:30075
render http://10.2.1.135/intrahcg/webix/codebase/webix.js:15786
bind http://10.2.1.135/intrahcg/webix/codebase/webix.js:298
So my solution was set the url in the handler. Then I manage all responses in the event onSuccessResponse, but doing that with the download i can´t get the response from server in that event so i’m getting the response in the event onAfterFileUpload but the biggest problem is that when i upload a new file, fm assigns an id, but when i try to download i get an error cuz the id doesn´t exist in my DB. So i need to refresh the whole tree cuz laodBranch doesn’t work.