$("#id_tags").autocomplete("/matching_tags/", {
minChars: 1,
matchContains: true,
- max: 20,
+ max: 10,
multiple: true,
multipleSeparator: " ",
+ highlightItem: true,
+ scroll: true,
+ scrollHeight: 300,
+
/*
formatItem: function(row, i, max) {
*/
formatItem: function(row, i, max, value) {
- return row[1].split(".")[0] + " (" + row[1].split(".")[1] + ")";
+ return row[1] + " (" + row[2] + ")";
},
formatResult: function(row, i, max, value){
- return row[0];
+ return row[1];
}
});
<td>
<span id="pre-collapse" title="{% trans "Toggle the real time Markdown editor preview" %}">{% trans "toggle preview" %}</span>
</td>
+ <td style="text-align: right;" id="editor-metrics"></td>
{% if settings.WIKI_ON %}
<td class="tright">
{{ form.wiki }} <span class="help_text" title="{{form.wiki.help_text}}">{{ form.wiki.label_tag }} </span>