Browse Source

maybe?

master
Pascal Gloor 5 years ago
parent
commit
e4c7a4037a
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      www/js/autodoc.js

+ 2
- 2
www/js/autodoc.js View File

@@ -266,9 +266,9 @@ function upload_read_event(e) {
xhr: function()
{
var xhr = $.ajaxSettings.xhr();
xhr.upload.addEventListener("progress", (function(evt){
xhr.upload.addEventListener("progress", (function(){
var id = e.data;
return function() {
return function(evt) {
if (evt.lengthComputable) {
var progress = Math.floor(evt.loaded / evt.total * 50);
if ( progress < 1 ) { progress = 1; }

Loading…
Cancel
Save