BeepPadUI/Workflow/shared/messaging.js
// given a message id find the first message object with that id
given a message id find the first message object with that id
given a message id find the first message object with that id
function findMessageById(strID)
{
	var objRet = null;
	if((null != strID) && (strID.length > 0))
	{
		for( var itrMsg = 0 ; itrMsg < aMessages.length ; itrMsg++ )
		{
			if( aMessages[itrMsg].id == strID )
			{
				objRet = aMessages[itrMsg];
				break;
			}
		}
	}
	return objRet;
}
function findMessageById ( strID ) { var objRet = null ; if ( ( null != strID ) && ( strID . length > 0 ) ) { for ( var itrMsg = 0 ; itrMsg < aMessages . length ; itrMsg ++ ) { if ( aMessages [ itrMsg ] . id == strID ) { objRet = aMessages [ itrMsg ] ; break ; } } } return objRet ; }
given a message id find the first message object with that id
given a message id find the first message object with that id