mirror of
https://github.com/grocy/grocy.git
synced 2025-08-19 11:48:55 +00:00
Revert "Excape HTML (where needed, for bootbox) (references #996)"
This reverts commit0df2590de2
. Revert "Excape shopping list item notes (references #996)" This reverts commit0624b0df59
.
This commit is contained in:
@@ -38,7 +38,7 @@ if (typeof GetUriParam("product-group") !== "undefined")
|
||||
|
||||
$(document).on('click', '.product-delete-button', function(e)
|
||||
{
|
||||
var objectName = SanitizeHtml($(e.currentTarget).attr('data-product-name'));
|
||||
var objectName = $(e.currentTarget).attr('data-product-name');
|
||||
var objectId = $(e.currentTarget).attr('data-product-id');
|
||||
|
||||
Grocy.Api.Get('stock/products/' + objectId,
|
||||
|
Reference in New Issue
Block a user