docs/autodocs/source/aibs_sphinx/static/external_assets/javascript/portal.js
/* detect Enter/Return key press in Site Search Text input widget,
 * then simulate a click on the Site Search button.
 */
detect Enter/Return key press in Site Search Text input widget,
then simulate a click on the Site Search button.
detect Enter / Return key press in Site Search Text input widget then simulate a click on the Site Search button .
function doSiteSearchKeyPress(e) {
    e = e || window.event;
    if (e.keyCode == 13) {
        document.getElementById(_pSiteSearchButton).click();
    }
}
function doSiteSearchKeyPress ( e ) { e = e || window . event ; if ( e . keyCode == 13 ) { document . getElementById ( _pSiteSearchButton ) . click ( ) ; } }
detect Enter/Return key press in Site Search Text input widget,
 then simulate a click on the Site Search button.
detect Enter / Return key press in Site Search Text input widget then simulate a click on the Site Search button .
// look for window.event in case event isn't passed in