commit/galaxy-central: dannon: Select2 dynamic loading now uses non-static URL (Should fix main's prefixed URL issue)
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/694411e94d9a/ Changeset: 694411e94d9a User: dannon Date: 2014-02-11 17:59:38 Summary: Select2 dynamic loading now uses non-static URL (Should fix main's prefixed URL issue) Affected #: 1 file diff -r 15fc8675064ea46b7e081d9643393be354f07d65 -r 694411e94d9aa26c9b9a2c13567b2b5e07f74580 templates/admin/impersonate.mako --- a/templates/admin/impersonate.mako +++ b/templates/admin/impersonate.mako @@ -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; }, Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org