according to the _whatsnew.html file, "A "Quick Upload " option is now available in the link, image and flash dialog windows".
That's right, and a good idea I must say... except that I can't make it work at all :-/ (I'm using a custom server side language, with my own connector that worked fine until 2.0fc included)
the browser embedded upload works ok (as before), but the dialog doesn't do anything.
A look at the code seems to show that the upload code is now duplicated, depending on it is called via the connector or the dialog...
I tried to point the new param LinkUploadURL (for example) to my connector but no chance.
Please tell me that I'm wrong, because I'm not sure it is that great an idea to maintain twice the *same* portion of code... or perhaps did I just missed some documentation (I admit I'm quite lost trying to follow the js code)
That's right, and a good idea I must say... except that I can't make it work at all :-/ (I'm using a custom server side language, with my own connector that worked fine until 2.0fc included)
the browser embedded upload works ok (as before), but the dialog doesn't do anything.
A look at the code seems to show that the upload code is now duplicated, depending on it is called via the connector or the dialog...
I tried to point the new param LinkUploadURL (for example) to my connector but no chance.
Please tell me that I'm wrong, because I'm not sure it is that great an idea to maintain twice the *same* portion of code... or perhaps did I just missed some documentation (I admit I'm quite lost trying to follow the js code)
RE: Quick Upload in 2.0 release
look at upload.php in editor/filemanager/upload ... this is the php version but it shows you the details

they have done it.
I am not happy with that solution because imho it's nearly the same what the FileBrowser-connector does in command FileUpload.I hope they will change that in upcomming releases with full documentation
I use my connector for the quick-upload too (because i want one place to change it, etc.).
What you must change is your Connectors FileUpload-Response where you must give back the uploaded file-url when using Quick-Upload in
OnUloadComplete-Callback function.
Also you must be aware of the location of that function too ...
<script type="text/javascript">
if (window.parent.frames['frmUpload'].OnUploadCompleted) { window.parent.frames['frmUpload'].OnUploadCompleted(0);
}
else {
window.parent.OnUploadCompleted(0,'<uploadedfileurl>');
}
</script>
In my Custom-fck-Config File i use this to link the quick-upload function to my connector:
FCKConfig.ImageUploadURL = '/service/BASIS.FCKEditor.FileBrowser.Connector.cls?Command=FileUpload&Type=File';
By the way ... my script-language/Connector is
for InterSystems Cache-Database with its Cache-Server-Pages Web-Gateway/API.
Hope this helps ...
Regards ...
Bernd!