Series progress fine-tuning

pull/72/head
Louis Vézina 7 years ago
parent a5a2122324
commit 4927612825

@ -287,10 +287,11 @@
$( ".progress" ).each(function() { $( ".progress" ).each(function() {
if ($(this).progress('is complete') != true) { if ($(this).progress('is complete') != true) {
$(this).progress('set warning'); $(this).addClass('yellow');
} }
if ($(this).progress('get total') == 0) { if ($(this).progress('get total') == 0) {
$(this).progress('set success'); $(this).progress('update progress', '99');
$(this).addClass('grey disabled');
$(this).progress('set bar label', '0 / 0'); $(this).progress('set bar label', '0 / 0');
} }
}); });

Loading…
Cancel
Save