Make selecting a search result work

This commit is contained in:
Wesley Moore 2010-03-12 17:12:57 +11:00
parent f60a5e326e
commit f5b4023c91

View file

@ -30,7 +30,9 @@ var WezM = {
}); });
}, },
_searchItemSelected: function() {}, _searchItemSelected: function(article) {
document.location.href = article.path;
},
_renderArticle: function(o) { _renderArticle: function(o) {
return '<li>\n\ return '<li>\n\
<abbr class="calender date" title="' + (Mojo.escape(Mojo.normalize(o.date))) + '">\n\ <abbr class="calender date" title="' + (Mojo.escape(Mojo.normalize(o.date))) + '">\n\