onBeforeMarkCopy

fires before an item has been marked for copying

boolean onBeforeMarkCopy(string|array ids){ ... };

Parameters

idsstring|arraythe ids of the items to copy

Returns

booleanreturning false will prevent copying

Example

$$("files").attachEvent("onBeforeMarkCopy", function(ids){
    // your code
    return true;
});

Related samples

See also
Back to top