Get your own copy
Don't hesitate! Just download and test it all by yourself for free!
(Requires: 3.1+)
Starts up the main dialog of the MCFileManager. This enables the user to manage and pick file(s) to be inserted.
void mcFileManager.browse(<Object> s)
| Name | Summary |
|---|---|
| s | Name/Value object with settings. |
| Name | Summary |
|---|---|
| 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. |
mcFileManager.browse({
fields : 'url',
relative_urls : true
});