Hi All,
I hooked in the coldbox filebrowser module into my application yesterday, and I was wondering what else I need to do to get some better error alerts out to the user.
Is it correct to say that the upload method do not return anything back to JS? When I look at the code for the upload method all I can see is
// render stuff out
event.renderData(data=data,type=“json”);
Lets say something goes a miss in my handler (and I end up in the a catch) or the user has attempted to upload the wrong mime types, ideally I want to display a corresponding alert to the user via js or messagebox. Uploadify seems to handle this by changing the background color on the problematic uploads to a pale red color and flagging it as an “I/o Error”
I notice that their is no onError event attached to the call to uploadify, I was wondering if this is what I was missing? and if so what I would pass as parameters as I don’t seem to have anything back from CF.
Thanks in advance for any advice
Richard