1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

bug #3935: Fix progress bar for uploads

This commit is contained in:
Daniel Molina 2015-08-20 12:46:41 +02:00
parent 43931e902d
commit 6f415061de
3 changed files with 3 additions and 3 deletions

View File

@ -156,7 +156,7 @@ define(function(require) {
});
that.uploader.on('progress', function() {
$('span.meter', $('div[id="files-' + fileName + 'progressBar"]')).css('width', that.uploader.progress() * 100.0 + '%')
$('span.meter', $('div[id="files-' + fileName + 'progressBar"]')).css('width', this.progress() * 100.0 + '%')
});
}

View File

@ -180,7 +180,7 @@ define(function(require) {
});
that.uploader.on('progress', function() {
$('span.meter', $('div[id="' + fileName + 'progressBar"]')).css('width', that.uploader.progress() * 100.0 + '%')
$('span.meter', $('div[id="' + fileName + 'progressBar"]')).css('width', this.progress() * 100.0 + '%')
});
}

View File

@ -106,7 +106,7 @@ define(function(require) {
});
uploader.on('progress', function() {
$('span.meter', $('div[id="'+fileName+'progressBar"]', tabContext)).css('width', uploader.progress()*100.0+'%')
$('span.meter', $('div[id="'+fileName+'progressBar"]', tabContext)).css('width', this.progress()*100.0+'%')
});
uploader.on('fileSuccess', function(file) {