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 -N -r1.11 -r1.12 --- openacs-4/packages/acs-subsite/www/resources/core.js 5 May 2007 13:07:35 -0000 1.11 +++ openacs-4/packages/acs-subsite/www/resources/core.js 14 May 2007 20:30:25 -0000 1.12 @@ -146,7 +146,7 @@ var Obj, Type, Name, Id; var Controls = acs_ListFindInput(); if (!Controls) { return; } // Regexp to find name of controls - var re = new RegExp('^' + listName + ',.+'); + var re = new RegExp('^' + listName + '..+'); checkP = checkP ? true : false; @@ -174,15 +174,14 @@ form.submit(); } - function acs_KeypressGoto(theUrl, event) { - var key; - if (event) { - if (event.which == 13) { - location.href = theUrl; - } - } - } + var key; + if (event) { + if (event.which == 13) { + location.href = theUrl; + } + } +} /* Copyright Mihai Bazon, 2002, 2003 | http://students.infoiasi.ro/~mishoo