diff options
author | BonfaceKilz | 2021-10-25 12:07:56 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-10-25 14:00:14 +0300 |
commit | 6296b5ff43b0a6209443679350bf15b399406699 (patch) | |
tree | 7408bea99c9e403b0e33df5bf0ec3c2e80af8fca /wqflask | |
parent | 696a6c6dc758e16b582e20419819acd5b17a75f1 (diff) | |
download | genenetwork2-6296b5ff43b0a6209443679350bf15b399406699.tar.gz |
change_resource_owner.html: Update endpoint for user-search
This link has the {{ resource_id }} set because it's a required
argument for the "@edit_admins_access_required" decorator
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/templates/admin/change_resource_owner.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/admin/change_resource_owner.html b/wqflask/wqflask/templates/admin/change_resource_owner.html index ae9409b0..b88d680d 100644 --- a/wqflask/wqflask/templates/admin/change_resource_owner.html +++ b/wqflask/wqflask/templates/admin/change_resource_owner.html @@ -57,7 +57,7 @@ $('#find_users').click(function() { $.ajax({ method: "POST", - url: "/search_for_users", + url: "/resource-management/{{ resource_id }}/users/search", data: { user_name: $('input[name=user_name]').val(), user_email: $('input[name=user_email]').val() |