From: hernani Date: Wed, 7 Jul 2010 01:18:22 +0000 (+0000) Subject: Fixes the problem with the hardcoded matching_tags url. X-Git-Tag: live~641 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/96a660e3c50bad0a4e8c67c25eb1c28306cf4a4d Fixes the problem with the hardcoded matching_tags url. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@493 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- diff --git a/forum/skins/default/media/js/osqa.main.js b/forum/skins/default/media/js/osqa.main.js index 2a2a48e..85d21b9 100644 --- a/forum/skins/default/media/js/osqa.main.js +++ b/forum/skins/default/media/js/osqa.main.js @@ -679,7 +679,7 @@ function pickedTags(){ init: function(){ collectPickedTags(); setupHideIgnoredQuestionsControl(); - $("#interestingTagInput, #ignoredTagInput").autocomplete("/matching_tags/", { + $("#interestingTagInput, #ignoredTagInput").autocomplete(messages.matching_tags_url, { minChars: 1, matchContains: true, max: 20, diff --git a/forum/skins/default/templates/base_content.html b/forum/skins/default/templates/base_content.html index 62d2176..a07b2ba 100644 --- a/forum/skins/default/templates/base_content.html +++ b/forum/skins/default/templates/base_content.html @@ -33,7 +33,8 @@ message: "{% trans "Message:" %}", cancel: "{% trans "Cancel" %}", close: "{% trans "Close" %}", - ok: "{% trans "Ok" %}" + ok: "{% trans "Ok" %}", + matching_tags_url: "{% url matching_tags %}", } /* ]] */