Skip to content

Commit 18ba425

Browse files
author
Jostein Austvik Jacobsen
committed
Extended upload information didn't show anymore. Fixed it.
1 parent 0b68b81 commit 18ba425

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

js/jquery.fileupload-ui.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -255,19 +255,16 @@
255255
.find('.bar').css(
256256
'width',
257257
progress + '%'
258-
).parent().attr(
259-
'aria-valuenow',
260-
progress
261-
).attr(
262-
'aria-valuetext',
263-
progress + '%'
264258
).end()
265259
.find('.progress-extended').each(function () {
266260
$(this).html(
267261
$this.data('fileupload')
268262
._renderExtendedProgress(data)
269263
);
270264
});
265+
$this.find('.fileupload-progress').find('.bar').parent()
266+
.attr('aria-valuenow', progress)
267+
.attr('aria-valuetext', progress + '%');
271268
},
272269
// Callback for uploads start, equivalent to the global ajaxStart event:
273270
start: function (e) {

0 commit comments

Comments
 (0)