mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 04:33:13 +01:00
MDL-68890 progressbar: prevent display exist file's progress bar
This commit is contained in:
parent
a2b286ce17
commit
de6b084925
@ -445,12 +445,12 @@ M.form_dndupload.init = function(Y, options) {
|
||||
if (dispfilename.length > 50) {
|
||||
dispfilename = dispfilename.substr(0, 49)+'…';
|
||||
}
|
||||
var progressouter = this.container.create(dispfilename +
|
||||
var progressouter = this.container.create('<div>' + dispfilename +
|
||||
'<div class="progress">' +
|
||||
' <div class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100">' +
|
||||
' <span class="sr-only"></span>' +
|
||||
' </div>' +
|
||||
'</div>');
|
||||
'</div></div>');
|
||||
var progressinner = progressouter.one('.progress-bar');
|
||||
var progressinnertext = progressinner.one('.sr-only');
|
||||
var progresscontainer = this.container.one('.dndupload-progressbars');
|
||||
|
Loading…
x
Reference in New Issue
Block a user