Hi I'm trying to make async suggestions in noun type but it not seems to
work as I expected. my noun type looks like
var Suggester = {
_name : 'Suggester',
suggest : function(text, html, makeSuggestion) {
Utils.setTimeout(function suggestAsync() {
for each (var number in [1,2,3,4]) {
displayMessage(number);
makeSuggestion({
text : number
summary : number,
html : number
});
}
}, 300);
return [];
}
}
I was expecting to see the suggestion but unfortunately I don't. I only see
the numbers through AlertService (displayMessage), any ideas what am I
doing wrong? Or its not even supposed to work ??
Thanks
--
Irakli Gozalishvili
Web: http://rfobic.wordpress.com/
Address: Taksteeg 3 - 4, 1012PB Amsterdam, Netherlands
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"ubiquity-firefox" 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/ubiquity-firefox?hl=en
-~----------~----~----~----~------~----~------~--~---