onBeforeMarkCut

fires before an item has been marked for cutting

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

Parameters

idsstring|arraythe ids of the items to cut

Returns

booleanreturning false will prevent the cutting operation

Example

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

Related samples

See also
Back to top