src/main/webapp/js/singlepage-interface.js
/**
	 * After a small delay, clear the tab's current data and show a spinner.
	 *
	 * The delay exists because it's jarring when the user switches page and all content is removed
	 * and then displayed again within a fraction of a second.
	 *
	 * @param {any} $tab the tab content container.
	 */
After a small delay, clear the tab's current data and show a spinner.
The delay exists because it's jarring when the user switches page and all content is removed
and then displayed again within a fraction of a second.

@param {any} $tab the tab content container.
After a small delay clear the tab ' s current data and show a spinner . The delay exists because it ' s jarring when the user switches page and all content is removed and then displayed again within a fraction of a second . @param { any } $tab the tab content container .
function showSearchIndicator($tab) {
		if ($tab.data('searchIndicatorTimeout') == null) {
			$tab.data('searchIndicatorTimeout', setTimeout(function() {
				$tab.find('.searchIndicator').show();
				clearTabResults($tab);
			}, 500));
		}
	}
function showSearchIndicator ( $tab ) { if ( $tab . data ( 'searchIndicatorTimeout' ) == null ) { $tab . data ( 'searchIndicatorTimeout' , setTimeout ( function ( ) { $tab . find ( '.searchIndicator' ) . show ( ) ; clearTabResults ( $tab ) ; } , 500 ) ) ; } }
After a small delay, clear the tab's current data and show a spinner.
After a small delay clear the tab ' s current data and show a spinner .