We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1b6bf08 + 7848f58 commit 19d3803Copy full SHA for 19d3803
static/js/admin_user.js
@@ -163,8 +163,7 @@ function patchRequest(element) {
163
var userRole = row.find('.user-role').val();
164
var userIsInvited = row.data('is-invited');
165
var isAvailable = row.find('.availability-toggle').is(':checked');
166
- data = data.replace(/</g, "<").replace(/>/g, ">");
167
- role = role.replace(/</g, "<").replace(/>/g, ">");
+ userRole = userRole.replace(/</g, "<").replace(/>/g, ">");
168
var data = {
169
isAvailable: isAvailable,
170
role: userRole
0 commit comments