Widget:KeywordSearch: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
Matt Pijoan (talk | contribs) No edit summary |
||
Line 65: | Line 65: | ||
}) | }) | ||
.always(function (data) { | .always(function (data) { | ||
$.each(data.query.results, function(index, value){ | $.each(data.query.results, function(index, value){ | ||
console.log(value); | console.log(value); | ||
Line 72: | Line 70: | ||
obj.questionListAll.push(value.fulltext); | obj.questionListAll.push(value.fulltext); | ||
}); | }); | ||
if ((obj.keyword.iterator+1) < obj.queries.length) { | |||
obj.keyword.iterator++; | |||
runQueries(obj); | runQueries(obj); | ||
} else { | } else { | ||
} | } | ||
}); | }); |