mirror of
https://github.com/grocy/grocy.git
synced 2025-08-19 03:40:10 +00:00
Excape HTML (where needed, for bootbox) (references #996)
This commit is contained in:
@@ -21,7 +21,7 @@ $("#search").on("keyup", Delay(function()
|
||||
|
||||
$(document).on('click', '.location-delete-button', function(e)
|
||||
{
|
||||
var objectName = $(e.currentTarget).attr('data-location-name');
|
||||
var objectName = SanitizeHtml($(e.currentTarget).attr('data-location-name'));
|
||||
var objectId = $(e.currentTarget).attr('data-location-id');
|
||||
|
||||
bootbox.confirm({
|
||||
|
Reference in New Issue
Block a user