Hello when I start to type "g" in robot I get error - Error in execution time.Wrong number of arguments
Line FARR.setState(1);
function onSearchBegin(querykey, explicit, queryraw, querynokeyword, modifier, triggermethod) {
if(!explicit) {
if(aliasstr.indexOf(queryraw)!=-1) {
FARR.setState(1);
FARR.emitResult(querykey, aliasstr, aliasstr, iconfilename,ALIAS,IMMEDIATE_DISPLAY,1000);
FARR.setState(0);
}
return;
}
Next syntax error in this function
line searchResults = eval("(" + xmlhttp.responseText + ")");
function doSearch(querykey, url, r) {
var xmlhttp=new ActiveXObject("MSXML2.XMLHTTP");
xmlhttp.open("GET",url,true);
xmlhttp.onreadystatechange = function(){
if (xmlhttp.readyState == 4) {
searchResults = eval("(" + xmlhttp.responseText + ")");
r(searchResults);
}
}
xmlhttp.send(null);
}