search for: onallcomplete

Displaying 2 results from an estimated 2 matches for "onallcomplete".

2011 Jul 07
0
Question of uploading large file using carrierwave, uploadify and nginx upload module
...large files (>1G) because of http error 499 (client closed connection before nginx response). The problem here is that, when the uploadify script finishes sending file to nginx upload module, the uploadify javascript expects a quick response because the uploadify has finished uploading files and onAllComplete function will have to execute, however, the saving object takes much longer time and return late, and the javascript terminate prematurely, and issues a IO error. In fact, the file is successfully uploaded and placed in the correct place. attachments_controller def create @attachment = Atta...
2010 Sep 21
0
Upload form with uploadify jquery plugin
...9;') %>'', sizeLimit : <%= max_size %>, multi : <%= allow_multiple_files %>, onComplete : function(event, queueID, fileObj, response, data) { var data = eval(''('' + response + '')'');$.getScript(data.photo)}, onAllComplete : function(event, data){ $(''#uploadify_cancel'').hide(''blind''); $(''#uploadify_submit'').show(''blind''); }, onSelect: function(event, queueID, fileObj){ if (fileObj.size > <%= max_size %>) {...