1
Vote

JsFunc_FileStateChanged event not fired for all documented events

description

In the client-side FileStateChanged event, specified with JsFunc_FileStateChanged, at least two events are not fired as documented.
 
Flajaxian.File_Selected (1), and Flajaxian.Cancelled (4) are not fired at all.
 
A workaround to the File_Selected event not firing is to specify a JsFunc_GenerateFileRow function, like so:
 
function GenerateFileRow(uploader, row, container) {
Flajaxian.generateFileRow(uploader, row, container);
jQuery('#videoUploadSelected').slideDown('slow');
}
 
 
However, I see no way of receiving notification of the cancel button being clicked.
 
2 and 3 (uploading and finished) do work as documented. I have not tried causing an error (code 5) to verify that it is being called.

comments