Index: openacs-4/packages/acs-subsite/www/resources/core.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/resources/core.js,v diff -u -r1.10 -r1.11 --- openacs-4/packages/acs-subsite/www/resources/core.js 4 Jun 2006 00:45:46 -0000 1.10 +++ openacs-4/packages/acs-subsite/www/resources/core.js 5 May 2007 13:07:35 -0000 1.11 @@ -175,9 +175,16 @@ } +function acs_KeypressGoto(theUrl, event) { + var key; + if (event) { + if (event.which == 13) { + location.href = theUrl; + } + } + } - /* Copyright Mihai Bazon, 2002, 2003 | http://students.infoiasi.ro/~mishoo * --------------------------------------------------------------------------- *