YaCy-UI: small fix for FF3 bug with pagination of search result

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4862 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
apfelmaennchen 17 years ago
parent 1c94253894
commit 17375a3d11

@ -9,9 +9,9 @@
url: query,
dataType: "xml",
success: function(xml) {
var totalResults = parseInt($(xml).find('totalResults').text().replace(".","","g"));
var startIndex = parseInt($(xml).find('startIndex').text());
var itemsPerPage = parseInt($(xml).find('itemsPerPage').text());
var totalResults = parseInt($(xml).find('opensearch\\:totalResults').text().replace(".","","g"));
var startIndex = parseInt($(xml).find('opensearch\\:startIndex').text());
var itemsPerPage = parseInt($(xml).find('opensearch\\:itemsPerPage').text());
var query = $(xml).find('Query').attr('searchTerms');
var endIndex = startIndex+itemsPerPage;
if (endIndex > totalResults) {

Loading…
Cancel
Save