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:
parent
43931e902d
commit
6f415061de
@ -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 + '%')
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -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 + '%')
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user