From b290dd2fdf285c63d695e493285e594c010430bb Mon Sep 17 00:00:00 2001 From: Hector Date: Fri, 3 Jan 2014 16:38:36 +0100 Subject: [PATCH] bug --- .../assets/javascripts/jquery-fileupload/jquery.fileupload.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vendor/assets/javascripts/jquery-fileupload/jquery.fileupload.js b/vendor/assets/javascripts/jquery-fileupload/jquery.fileupload.js index 03678f3..b907928 100755 --- a/vendor/assets/javascripts/jquery-fileupload/jquery.fileupload.js +++ b/vendor/assets/javascripts/jquery-fileupload/jquery.fileupload.js @@ -337,6 +337,9 @@ // to the file size(s) of the current upload and a loaded data // property calculated accordingly: this._trigger('progress', e, data); + if (this._bitrateTimer == null){ + this._bitrateTimer = new this._BitrateTimer(); + } // Trigger a global progress event for all current file uploads, // including ajax calls queued for sequential file uploads: this._trigger('progressall', e, this._progress);