public/javascripts/jquery.ui.autocomplete.html.js in cable-0.9.14 vs public/javascripts/jquery.ui.autocomplete.html.js in cable-0.9.15
- old
+ new
@@ -29,10 +29,10 @@
}
},
_renderItem: function( ul, item) {
console.log( "autocomplete running")
- return $( "<li></li>" )
+ return $( "<li></li>" ).addClass(item.type)
.data( "item.autocomplete", item )
.append( $( "<a></a>" )[ this.options.html ? "html" : "text" ]( item.label + "<span class='search_type'>" + item.type +"</span>") )
.appendTo( ul );
}
});
\ No newline at end of file