Series progress fine-tuning

This commit is contained in:
Louis Vézina 2018-04-24 17:16:01 -04:00
parent a5a2122324
commit 4927612825
1 changed files with 3 additions and 2 deletions

View File

@ -287,10 +287,11 @@
$( ".progress" ).each(function() {
if ($(this).progress('is complete') != true) {
$(this).progress('set warning');
$(this).addClass('yellow');
}
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');
}
});