All pastes #564605 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-06-13 17:38 UTC
rendered paste body
			/* Utility function for search, if event keypress is enter - redirect */

			checkEnter = function(event, href)
			{
				if (event.keyCode == Event.KEY_ENTER) 
				{ 
					window.location= href;
				}
			}