You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having this issue and I've tried to change things on my own, but with little success.
I figured out that the "updateProgress" method is not called properly to update the upload status (even for big files). But this happens only if the autoUpload option is set to true, as aforementioned.
Edit
The updateProgress is called allright, the "hidden" class is removed but the progress bar does't shows up.
Edit 2
A workaround:
Remove the "hidden" class from the progress element on the template file
Comment the line (or around) 433, where the "hidden" class is added, like so:
if (this.model.isPending()) {
// when_running.add(when_done).addClass('hidden');
when_pending.removeClass('hidden');
} else if (this.model.isRunning()) {
when_pending.add(when_done).addClass('hidden');
when_running.removeClass('hidden');
} else if (this.model.isDone() || this.model.isError()) {
when_pending.add(when_running).addClass('hidden');
when_done.removeClass('hidden');
}
The text was updated successfully, but these errors were encountered:
It will not work, because file model state will be still "pending". If I am using autoUpload option, I add file.start() on "fileadd" event:
bindLocal: function ()
{
var self = this;
this.on('fileadd', function (file) {
// Add it to current list
self.files.add(file);
// Create the view
self.renderFile(file);
file.start();
}).on('fileprogress', function (file, progress) {
// console.log("file progressss");
file.progress(progress);
}).on('filefail', function (file, error) {
file.fail(error);
}).on('filedone', function (file, data) {
file.done(data.result);
});
// When collection changes
this.files.on('all', this.update, this);
}
I'm having this issue and I've tried to change things on my own, but with little success.
I figured out that the "updateProgress" method is not called properly to update the upload status (even for big files). But this happens only if the autoUpload option is set to true, as aforementioned.
Edit
The updateProgress is called allright, the "hidden" class is removed but the progress bar does't shows up.
Edit 2
A workaround:
Remove the "hidden" class from the progress element on the template file
Comment the line (or around) 433, where the "hidden" class is added, like so:
The text was updated successfully, but these errors were encountered: