]> git.openstreetmap.org Git - osqa.git/commitdiff
OSQA-435, the matching tags URL is now retrieved with the usage of the {% url %}...
authorjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Thu, 14 Apr 2011 13:28:16 +0000 (13:28 +0000)
committerjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Thu, 14 Apr 2011 13:28:16 +0000 (13:28 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@983 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/skins/default/templates/ask.html
forum/skins/default/templates/question_edit.html
forum/skins/default/templates/question_retag.html

index fa38b767b54ff936ed9d0595c43182c08c277a44..26f5fae95bd6264811f1317c66cc6650c5076f07 100644 (file)
@@ -33,7 +33,7 @@
             });
 
             //Tags autocomplete action
             });
 
             //Tags autocomplete action
-               $("#id_tags").autocomplete("/matching_tags/", {
+               $("#id_tags").autocomplete("{% url matching_tags %}", {
                 minChars: 1,
                        matchContains: true,
                 max: 10,
                 minChars: 1,
                        matchContains: true,
                 max: 10,
index 7b41cac20d3b67e76bbc2eb9d7d938552bd534e0..417707472819e3eb644fd3f43d213c93a2c7066e 100644 (file)
@@ -26,7 +26,7 @@
             });
             
             //Tags autocomplete action
             });
             
             //Tags autocomplete action
-               $("#id_tags").autocomplete("/matching_tags/", {
+               $("#id_tags").autocomplete("{% url matching_tags %}", {
                        matchContains: true,
                 max: 20,
                 multiple: true,
                        matchContains: true,
                 max: 20,
                 multiple: true,
index 6ec13134cb0c6b7baf8830aaa07605b22b76e6d6..9050e25ed21d4bf96be24aa98f742a8ea54f9cdc 100644 (file)
@@ -9,7 +9,7 @@
         $().ready(function(){
             $("#nav_questions").attr('className',"on");
             //Tags autocomplete action
         $().ready(function(){
             $("#nav_questions").attr('className',"on");
             //Tags autocomplete action
-               $("#id_tags").autocomplete("/matching_tags/", {
+               $("#id_tags").autocomplete("{% url matching_tags %}", {
                 minChars: 1,
                        matchContains: true,
                 max: 20,
                 minChars: 1,
                        matchContains: true,
                 max: 20,