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

贡献者指南

uploadProgress function not working in Microsoft Edge · jquery-form/form#525 | Good First Issue