BeepPadUI/Workflow/shared/messaging.js
// properly delete a node from the DOM
properly delete a node from the DOM
properly delete a node from the DOM
function deleteNode(elmToDelete)
{
	if(elmToDelete)
	{
		deleteNode(elmToDelete.firstChild);
		elmToDelete.parentNode.removeChild(elmToDelete);
	}
}
function deleteNode ( elmToDelete ) { if ( elmToDelete ) { deleteNode ( elmToDelete . firstChild ) ; elmToDelete . parentNode . removeChild ( elmToDelete ) ; } }
properly delete a node from the DOM
properly delete a node from the DOM