scripts/menu.js
/**
 * Driver function for checking a Custom Route has been entered properly
 * @param {Object} errorDiv A jQuery encapsulated HTML div tag, containing a set of potential error messages
 */
Driver function for checking a Custom Route has been entered properly
@param {Object} errorDiv A jQuery encapsulated HTML div tag, containing a set of potential error messages
Driver function for checking a Custom Route has been entered properly @param { Object } errorDiv A jQuery encapsulated HTML div tag containing a set of potential error messages
function checkCustomRoute(errorDiv) {
	var error = false
	error = checkCustomRouteFieldsEmpty(errorDiv, $("#customRouteError_emptyField"));
	if(!error)
		checkCustomRouteValidChars(errorDiv, $("#customRouteError_invalidChars"));
}
function checkCustomRoute ( errorDiv ) { var error = false error = checkCustomRouteFieldsEmpty ( errorDiv , $ ( "#customRouteError_emptyField" ) ) ; if ( ! error ) checkCustomRouteValidChars ( errorDiv , $ ( "#customRouteError_invalidChars" ) ) ; }
Driver function for checking a Custom Route has been entered properly
 @param {Object} errorDiv A jQuery encapsulated HTML div tag, containing a set of potential error messages
Driver function for checking a Custom Route has been entered properly @param { Object } errorDiv A jQuery encapsulated HTML div tag containing a set of potential error messages