fix for pool selection

This commit is contained in:
albert
2013-02-19 13:30:55 -05:00
parent 6ab2bc3a70
commit e7aff87c65
7 changed files with 8 additions and 12 deletions

View File

@@ -19,7 +19,7 @@
$.getJSON(
"/pools.json?search[name_matches]=" + req.term,
function(data) {
resp(data.map(function(x) {return x.name;}));
resp(data.map(function(x) {return x.name.replace(/_/g, " ");}));
}
);
},