fires when the Rename action is chosen in the popup menu, but before editing started
id | string|number | the id of the edited item |
$$("fmanager").attachEvent("onBeforeEditFile", function(id){
// your code
});
Returning false within the handler function will prevent the execution of the further logic and the related editor will not be opened.