scripts/menu.js
/**
 * Re-enable the Submit Button
 */
Re-enable the Submit Button
Re - enable the Submit Button
function reenableSubmitButton() {
	if(formErrorStatus) 
		$("#submitForm").prop("disabled", false);
	else
		setTimeout(function () { $("#submitForm").prop("disabled", false); }, 500);
}
function reenableSubmitButton ( ) { if ( formErrorStatus ) $ ( "#submitForm" ) . prop ( "disabled" , false ) ; else setTimeout ( function ( ) { $ ( "#submitForm" ) . prop ( "disabled" , false ) ; } , 500 ) ; }
Re-enable the Submit Button
Re - enable the Submit Button
//If there was an error, re-enable the button immediately /* If there wasn't an error, re-enabling the Submit Button immediately would still give the user the opportunity to double click it.
	 * The menu gets hidden shortly after the Submit Button was pressed, so the Submit Button will be re-enabled
	 * while the menu is collapsed, thereby eliminating the possibility of the user running two of the same simulation at once. */