fires on the Upload action click, before the file dialog has opened
targetId | string | the id of the folder where a new file will be uploaded |
boolean | returning false will prevent opening the file dialog |
$$("fmanager").attachEvent("onBeforeUploadDialog",function(targetId){
// your code
return true;
});