|
|
|
|
|
|
|
|
$(obj).children().html(file.obj.name); |
|
|
$(obj).children().html(file.obj.name); |
|
|
$(obj).children().css('width', "50%"); |
|
|
$(obj).children().css('width', "50%"); |
|
|
if ( file.progress==1) { |
|
|
if ( file.progress==1) { |
|
|
if ( file.error ) { |
|
|
|
|
|
|
|
|
if ( file.error != null ) { |
|
|
$(obj).children().html(file.name + ': ' + file.error); |
|
|
$(obj).children().html(file.name + ': ' + file.error); |
|
|
$(obj).children().addClass('bg-danger'); |
|
|
$(obj).children().addClass('bg-danger'); |
|
|
$(obj).children().removeClass("progress-bar-animated"); |
|
|
$(obj).children().removeClass("progress-bar-animated"); |