onBeforeModeChange

fires before the mode of viewing files is changed on clicking the Modes button

boolean onBeforeModeChange(){ ... };

Returns

booleanreturning false will prevent the operation

Example

$$("fmanager").attachEvent("onBeforeModeChange", function(){
    // your code
    return true;
});

See also
Back to top