mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-13 08:51:38 +08:00
Select2 dynamic loading now uses non-static URL (Should fix main's prefixed URL issue)
This commit is contained in:
@@ -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; },
|
||||
|
||||
Reference in New Issue
Block a user