Home | History | Annotate | Download | only in js

Lines Matching refs:RESULTS

62   // even while search results are visible
1521 var ROW_COUNT_FRAMEWORK = 20; // max number of results in list
1526 var ROW_COUNT_GOOGLE = 15; // max number of results in list
1572 //if we have results, make the table visible and initialize result info
1578 // ########### ANDROID RESULTS #############
1581 // determine android results to show
1591 // ########### GOOGLE RESULTS #############
1596 // determine google results to show
1605 //if we have no results, hide the table
1628 // if results aren't showing (and text not empty), return true to allow search to execute
1631 // otherwise, results are already showing, so allow ajax to auto refresh the results
1841 // reset the ajax search callback to nothing, so results don't appear unless ENTER
1890 function renderResults(el, results) {
1891 if (!results.items) {
1892 el.append($('<div>').text('No results'));
1896 for (var i = 0; i < results.items.length; i++) {
1897 var item = results.items[i];
1923 if (results.queries.nextPage) {
1928 loadMoreResults(el, results);
1935 function loadMoreResults(el, results) {
1936 var query = results.queries.request.searchTerms;
1937 var start = results.queries.nextPage.startIndex;
1942 customSearch(query, start).then(function(results) {
1944 renderResults(el, results);
1951 customSearch(query).then(function(results) {
1953 renderResults(el, results);
1961 // Draw the search results box
1984 // if there's no query in the url, don't search and make sure results are hidden
1988 // first time loading search results for this page
1999 // If the results pane is open, close it.
2018 $("#searchTitle").html("Results for <em>" + encodeURIComponent(query) + "</em>");