jquery-form/form

uploadProgress function not working in Microsoft Edge

Open

#525 建立於 2017年5月14日

在 GitHub 查看
 (13 留言) (0 反應) (0 負責人)JavaScript (5,209 star) (2,199 fork)batch import
bughelp wantedupload

描述

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);
            },

貢獻者指南