blob: 41cb3445ce6ddac169149f7f2ba0ce860f67efdc (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
{% load tagging_tags %}
$(document).ready(function() {
{% tags_for_model objectapp.Gbobject as gbobject_tags %}
var data = "{{ gbobject_tags|join:',' }}".split(",");
$("#id_tags").autocomplete(data, {
width: 150, max: 10,
multiple: true, multipleSeparator: ", ",
scroll: true, scrollHeight: 300,
matchContains: true, autoFill: true,});
});
|