This commit is contained in:
Toks
2013-06-29 15:19:37 -04:00
parent 938e19f384
commit 8ac01e9f38
4 changed files with 6 additions and 5 deletions

View File

@@ -38,7 +38,7 @@
var render_wiki_page = function(list, wiki_page) {
var $link = $("<a/>").addClass("tag-type-" + wiki_page.category).text(wiki_page.label);
return $("<li/>").data("item.autocomplete", wiki_page).append($link).appendTo(list);
}
};
$fields.each(function(i, field) {
$(field).data("uiAutocomplete")._renderItem = render_wiki_page;