We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a82ad4 commit 7c52e1cCopy full SHA for 7c52e1c
src/templates/users/index.html
@@ -16,8 +16,8 @@
16
17
{% block resource_actions %}
18
<a href="#" class="btn btn-primary" onclick="
19
-if (confirm('{{ i18n('interface.users.confirm_sendmail', [resource.email]) }}')) {
20
-location.href = '{{ url_for('sendmail_%s' % endpoint_suffix, id=resource[pkey]) }}';
+if (confirm('{{ i18n('interface.users.confirm_sendmail', [resource.email]).replace("'", "\\'") }}')) {
+location.href = '{{ url_for('sendmail_%s' % endpoint_suffix, id=resource[pkey]).replace("'", "\\'") }}';
21
}
22
" role="button">
23
{{ utils.render_icon('envelope') }} {{ i18n('interface.users.sendmail') }}
0 commit comments