docs/autodocs/source/aibs_sphinx/static/external_assets/javascript/portal.js
/* build Site Search URL and open page */
build Site Search URL and open page
build Site Search URL and open page
function doSiteSearch() {
    var queryString;
    var searchInput = document.getElementById(_pSiteSearchTextInput);
    var auto_select_facet = "&fa=false&e_sp=t&e_ag=t&e_tr=t&e_fa=t";
    if (searchInput != null) {
        queryString = searchInput.value;
    }
    if ((queryString != null) && (queryString.length > 0)) {
        location.href = _pSiteSearchUrl + encodeURIComponent(queryString) + auto_select_facet;
    }
    else {
        location.href = _pSiteSearchUrl + auto_select_facet;
    }
}
function doSiteSearch ( ) { var queryString ; var searchInput = document . getElementById ( _pSiteSearchTextInput ) ; var auto_select_facet = "&fa=false&e_sp=t&e_ag=t&e_tr=t&e_fa=t" ; if ( searchInput != null ) { queryString = searchInput . value ; } if ( ( queryString != null ) && ( queryString . length > 0 ) ) { location . href = _pSiteSearchUrl + encodeURIComponent ( queryString ) + auto_select_facet ; } else { location . href = _pSiteSearchUrl + auto_select_facet ; } }
build Site Search URL and open page
build Site Search URL and open page
//auto select the passed qc facet