Select2 dynamic loading now uses non-static URL (Should fix main's prefixed URL issue)

This commit is contained in:
Dannon Baker
2014-02-11 11:59:38 -05:00
parent 385e9e0d24
commit 3259c1fc26
+1 -1
View File
@@ -30,7 +30,7 @@
$("#email_select").select2({
placeholder: "Select a user",
ajax: {
url: "/api/users/",
url: "${h.url_for(controller="/api/users", action="index")}",
dataType: 'json',
quietMillis: 250,
matcher: function(term, text) { return text.toUpperCase().indexOf(term.toUpperCase())>=0; },