Commit 5738e4f7 by David Baumgold

Pull correct URL when changing user permissions for course team

parent 91f192f6
......@@ -257,7 +257,7 @@
} else {
role = 'staff';
}
var url = $(this).closest("li").data("url");
var url = $(this).closest("li[data-url]").data("url");
$.ajax({
url: url,
type: 'POST',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment