mcFileManager.browse

(Requires: 3.1+)

Summary

Starts up the main dialog of the MCFileManager. This enables the user to manage and pick file(s) to be inserted.

Syntax

void mcFileManager.browse(<Object> s)

Parameters

NameSummary
s Name/Value object with settings.

Options

NameSummary
fields Comma separated list of form fields that will be filled with the URL value from the browse call.
oninsert Insert callback function to be executed ones files are selected.
tools Comma separated list of tools to display in toolbar.
disabled_tools Comma separated list of tools to disable.
target_frame Frame to open in.

Examples

mcFileManager.browse({
fields : 'url',
relative_urls : true
});