init: function(){\r
collectPickedTags();\r
setupHideIgnoredQuestionsControl();\r
- $("#interestingTagInput, #ignoredTagInput").autocomplete("/matching_tags/", {\r
+ $("#interestingTagInput, #ignoredTagInput").autocomplete(messages.matching_tags_url, {\r
minChars: 1,\r
matchContains: true,\r
max: 20,\r
message: "{% trans "Message:" %}",
cancel: "{% trans "Cancel" %}",
close: "{% trans "Close" %}",
- ok: "{% trans "Ok" %}"
+ ok: "{% trans "Ok" %}",
+ matching_tags_url: "{% url matching_tags %}",
}
/* ]] */
</script>