onBeforePasteFile

fires when the Paste action is chosen in the popup menu

void onBeforePasteFile(string id){ ... };

Parameters

idstringthe id of the target folder

Example

$$("fmanager").attachEvent("onBeforePasteFile", function(id){
    // your code
});

Related samples

Details

Returning false within the handler function will prevent the execution of the further logic and file will not be pasted.

See also
Back to top