mirror of
https://github.com/grocy/grocy.git
synced 2025-10-14 17:24:07 +00:00
Excape HTML (where needed, for bootbox) (references #996)
This commit is contained in:
@@ -33,7 +33,7 @@ $("#entity-filter").on("change", function()
|
||||
|
||||
$(document).on('click', '.userfield-delete-button', function(e)
|
||||
{
|
||||
var objectName = $(e.currentTarget).attr('data-userfield-name');
|
||||
var objectName = SanitizeHtml($(e.currentTarget).attr('data-userfield-name'));
|
||||
var objectId = $(e.currentTarget).attr('data-userfield-id');
|
||||
|
||||
bootbox.confirm({
|
||||
|
Reference in New Issue
Block a user