This commit is contained in:
Toks
2013-06-19 11:24:10 -04:00
parent 233f4fe675
commit e7995d2768
4 changed files with 8 additions and 8 deletions

View File

@@ -21,11 +21,11 @@
url: "/pools.json",
data: {
"search[is_active]": "true",
"search[name_matches]": req.term
"search[name_matches]": req.term,
"limit": 10
},
method: "get",
success: function(data) {
data = data.slice(0, 10);
resp($.map(data, function(tag) {
return {
label: tag.name.replace(/_/g, " "),