|
@@ -391,7 +391,7 @@ function queryServer(){ |
|
|
var resultDivs = []; |
|
|
var resultDivs = []; |
|
|
if("error" in result) |
|
|
if("error" in result) |
|
|
insertErrorMessage(result["error"]); |
|
|
insertErrorMessage(result["error"]); |
|
|
else if(result["results"].length == 0 && searchResultsPage == 1) |
|
|
|
|
|
|
|
|
else if(result["results"].length == 0 && searchResultsPage == 2) |
|
|
insertErrorMessage("No search results."); |
|
|
insertErrorMessage("No search results."); |
|
|
else |
|
|
else |
|
|
for(var codelet = 0; codelet < result["results"].length; codelet++) |
|
|
for(var codelet = 0; codelet < result["results"].length; codelet++) |
|
|