Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

OnComplete fires twice after cancelled upload
  • Hi,

    1)
    I start to upload a single file, but cancel it before its finished.

    2)
    Then I upload a new file, but when this finishes the onComplete callback fires twice.

    I see a few other posts around here on the same topic, but with no answers. Is this a bug or am I doing it all wrong?

    My setup is as follows:


    function onFileComplete(event, queueID, fileObj, response, data) {
    alert(\"Bazinga!\");
    }
    $(document).ready(function() {
    $('#fileInput').uploadify({
    'uploader' : pathToUploader,
    'script' : uploadUrl,
    'cancelImg' : customCancelImage,
    'auto' : true,
    'folder' : '/uploads',
    'buttonText' : customButtonText,
    'onComplete' : onFileComplete
    });
    });
  • I have the same problem. I use all most recent scripts. Any solution available?