jquery-form/form

uploadProgress function not working in Microsoft Edge

Open

#525 opened on May 14, 2017

View on GitHub
 (13 comments) (0 reactions) (0 assignees)JavaScript (5,209 stars) (2,199 forks)batch import
bughelp wantedupload

Description

This just started recently, probably after an update to either Edge or Windows 10.

The uploadProgress function is not triggering until the upload is complete. It works fine in Chrome, Firefox and Internet Explorer. I've just downloaded the latest version of jquery.form.js and the issue is the same.

            uploadProgress: function (event, position, total, percentComplete) {
                if (running === false) {
                    running = true;
                    parent.postMessage("status|running","*");
                }
                var percentValue = percentComplete + '%';
                bar.width(percentValue);
                bar.html(percentValue);
            },

Contributor guide