From: qw3rty Date: Mon, 14 Jun 2010 16:14:50 +0000 (+0000) Subject: osqa-342 X-Git-Tag: live~713 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/b97ddb66b6ffc6b7897ae6eb8b82409d66c89827 osqa-342 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 --- diff --git a/forum/skins/default/media/js/osqa.main.js b/forum/skins/default/media/js/osqa.main.js index 8326eb0..e5485c3 100644 --- a/forum/skins/default/media/js/osqa.main.js +++ b/forum/skins/default/media/js/osqa.main.js @@ -660,7 +660,7 @@ function pickedTags(){ init: function(){ collectPickedTags(); setupHideIgnoredQuestionsControl(); - $("#interestingTagInput, #ignoredTagInput").autocomplete("/matching_tags", { + $("#interestingTagInput, #ignoredTagInput").autocomplete("/matching_tags/", { minChars: 1, matchContains: true, max: 20, diff --git a/forum/skins/default/templates/ask.html b/forum/skins/default/templates/ask.html index 5c12c86..4eb806b 100644 --- a/forum/skins/default/templates/ask.html +++ b/forum/skins/default/templates/ask.html @@ -34,7 +34,7 @@ }); //Tags autocomplete action - $("#id_tags").autocomplete("/matching_tags", { + $("#id_tags").autocomplete("/matching_tags/", { minChars: 1, matchContains: true, max: 20, diff --git a/forum/skins/default/templates/question_edit.html b/forum/skins/default/templates/question_edit.html index bcc1d48..9207209 100644 --- a/forum/skins/default/templates/question_edit.html +++ b/forum/skins/default/templates/question_edit.html @@ -26,7 +26,7 @@ }); //Tags autocomplete action - $("#id_tags").autocomplete("/matching_tags", { + $("#id_tags").autocomplete("/matching_tags/", { matchContains: true, max: 20, multiple: true, diff --git a/forum/skins/default/templates/question_retag.html b/forum/skins/default/templates/question_retag.html index cdbef86..efeade9 100644 --- a/forum/skins/default/templates/question_retag.html +++ b/forum/skins/default/templates/question_retag.html @@ -9,7 +9,7 @@ $().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,