The attached patch will display how many bytes the user has uploaded in realtime when they are in the process of uploading files.

CommentFileSizeAuthor
callbacks.js_.progress.bytes_.patch717 bytesrobloach

Comments

robloach’s picture


 	var progress = document.getElementById(file.id + "progress");
 	var percent = Math.ceil((bytesLoaded / file.size) * 200);
   progress.style.background = "#f0f0f0 url(" + progressbarimage + ") no-repeat -" + (200 - percent) + "px 0";
+  progress.innerHTML = bytesLoaded + " / " + file.size + " bytes";
 }

... Performance increase.

robloach’s picture

Status: Needs review » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)