MCFileManager:JS options/remove script host
From Moxiecode Documentation Wiki
[edit]
Option: remove_script_host
If this option is enabled the protocol and host part of the URLs returned from the MCFileManager will be removed. This option is set to false by default.
URL:s will be returned in this format: "/somedir/somefile.htm" instead of the default mode: "http://www.somesite.com/somedir/somefile.htm".
[edit]
Example of usage in init call on page level
mcFileManager.init({
remove_script_host : true
});
[edit]
Example of usage in mcFileManager.open call
<a href="javascript:mcFileManager.open('example1','url','','',{remove_script_host : true});">[Browse]</a>
