Hello, I find solution delete file and ajax request to delete on server.
I need information about an object when I delete it
i try event onBeforeDelete, but files.data not have file with id.
$$(“filesPhotos”).files.attachEvent(“onBeforeDelete”, function (id) {
console.log(id);
console.log($$(“filesPhotos”).files.data)
});
What a event need to use delete file and get info about file ?