fires when the Delete action is chosen in the popup menu
id | string | the id of the item to delete |
boolean | if an event handler returns false, the onBeforeDeleteFile handler will not be called |
$$("fmanager").attachEvent("onBeforeDeleteFile", function(id){
// your code
});
Returning false within the handler function will prevent the execution of the further logic and the file/folder will not be deleted.