I'm getting a JavaScript error in IE7 inside of the google gnewsbar.js
code, in this section:
var res = ns.results[i];
if (this.verticalMode) {
var resultDiv = this.createDiv(null, this.CL_RESULTDIV);
var node = res.html.cloneNode(true);
this.resultsBox.appendChild(resultDiv);
resultDiv.appendChild(node);
} else {
this.results[i] = res;
}
The error is that res.html is not an object. In stepping through the
code, I find that the problem is that the news search is returning a
"GnewsSearch.quote" which doesn't have a property named html.
I'm searching for "George W. Bush" as one example.
It would be nice if the default search didn't include quotes, or if
the code included a test to avoid these results.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google AJAX API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-AJAX-Search-API?hl=en
-~----------~----~----~----~------~----~------~--~---