Closed Integral closed 8 years ago
and you must provide 'figure' field, otherwise it will return error
This should not break any existing functionality right?
Feel free to merge into master.. the earlier the better. Just it should not break things.
@michael you can try smth like var xhr = new XMLHttpRequest(); xhr.open('post', '/api/upload', true); xhr.upload.onprogress = function(e) { if (e.lengthComputable) { var percentage = (e.loaded / e.total) * 100; $('div.progress div.bar').css('width', percentage + '%'); } }; xhr.onerror = function(e) { }; xhr.onload = function() { }; xhr.send(figure);