csuwldcat/moz-x-tags — pull request #1 by dennismartensson (2012-07-09 22:23:42+00:00)
Title: fix for autosuggest test

The autosuggest did not work, Wrapped the

document.getElementById('autosuggest').dataready = function(request){
....
};

in side

document.addEventListener('DOMComponentsLoaded', function(){ ... }, false);

so that we wait to manipulate the document.getElementById untile the DOM is ready.