]> git.openstreetmap.org Git - osqa.git/commitdiff
osqa-342
authorqw3rty <qw3rty@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 14 Jun 2010 16:14:50 +0000 (16:14 +0000)
committerqw3rty <qw3rty@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 14 Jun 2010 16:14:50 +0000 (16:14 +0000)
put a slash on the end of the http request string for autocomplete

git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@419 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/skins/default/media/js/osqa.main.js
forum/skins/default/templates/ask.html
forum/skins/default/templates/question_edit.html
forum/skins/default/templates/question_retag.html

index 8326eb0f2de5b1ab6922239de3134d70b543911f..e5485c3087cb9893bc439b72c0ecfdf65369051d 100644 (file)
@@ -660,7 +660,7 @@ function pickedTags(){
         init: function(){\r
             collectPickedTags();\r
             setupHideIgnoredQuestionsControl();\r
         init: function(){\r
             collectPickedTags();\r
             setupHideIgnoredQuestionsControl();\r
-            $("#interestingTagInput, #ignoredTagInput").autocomplete("/matching_tags", {\r
+            $("#interestingTagInput, #ignoredTagInput").autocomplete("/matching_tags/", {\r
                 minChars: 1,\r
                 matchContains: true,\r
                 max: 20,\r
                 minChars: 1,\r
                 matchContains: true,\r
                 max: 20,\r
index 5c12c865142b6a1f5f90689e1c2045ddf6f1224f..4eb806b1feb2cf8c980f478814ccd95a97d39a6a 100644 (file)
@@ -34,7 +34,7 @@
             });
 
             //Tags autocomplete action
             });
 
             //Tags autocomplete action
-               $("#id_tags").autocomplete("/matching_tags", {
+               $("#id_tags").autocomplete("/matching_tags/", {
                 minChars: 1,
                        matchContains: true,
                 max: 20,
                 minChars: 1,
                        matchContains: true,
                 max: 20,
index bcc1d48340185f5e5be47ba0869efcc0795983eb..9207209956dd0a452b03aca86d70534a93643e12 100644 (file)
@@ -26,7 +26,7 @@
             });
             
             //Tags autocomplete action
             });
             
             //Tags autocomplete action
-               $("#id_tags").autocomplete("/matching_tags", {
+               $("#id_tags").autocomplete("/matching_tags/", {
                        matchContains: true,
                 max: 20,
                 multiple: true,
                        matchContains: true,
                 max: 20,
                 multiple: true,
index cdbef86998de9d6416a92912a1329de68eb73f45..efeade983d74a535f62d0ad1796863e14109a832 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("/matching_tags/", {
                 minChars: 1,
                        matchContains: true,
                 max: 20,
                 minChars: 1,
                        matchContains: true,
                 max: 20,