public/content/plugins/seriously-simple-podcasting/assets/js/import.rss.js
/**
	 * Update the progressbar value
	 * @param progress
	 * @param colour
	 */
Update the progressbar value
@param progress
@param colour
Update the progressbar value @param progress @param colour
function update_progress_bar(progress, colour) {
		if (0 === progress) {
			progressbar.progressbar({
				value: 0
			});
			return;
		}
		if ('' === colour) {
			colour = 'blue';
		}
		let current_value = progressbar.progressbar('value');
		if (current_value < 100) {
			progressbar.progressbar({
				value: progress
			});
			change_progress_colour(colour);
		}
	}
function update_progress_bar ( progress , colour ) { if ( 0 === progress ) { progressbar . progressbar ( { value : 0 } ) ; return ; } if ( '' === colour ) { colour = 'blue' ; } let current_value = progressbar . progressbar ( 'value' ) ; if ( current_value < 100 ) { progressbar . progressbar ( { value : progress } ) ; change_progress_colour ( colour ) ; } }
Update the progressbar value
 @param progress
 @param colour
Update the progressbar value @param progress @param colour
/**
		 * First run
		 */ /**
		 * Subsequent runs
		 */