fires when the Paste action is chosen in the popup menu
id | string | the id of the target folder |
$$("fmanager").attachEvent("onBeforePasteFile", function(id){
// your code
});
Returning false within the handler function will prevent the execution of the further logic and file will not be pasted.