mirror of
https://github.com/grocy/grocy.git
synced 2025-09-29 19:12:24 +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:
@@ -563,7 +563,7 @@ $(document).on('click', '.recipe-order-missing-button', function(e)
|
||||
// to prevent that the tooltip stays until clicked anywhere else
|
||||
document.activeElement.blur();
|
||||
|
||||
var objectName = SanitizeHtml($(e.currentTarget).attr('data-recipe-name'));
|
||||
var objectName = $(e.currentTarget).attr('data-recipe-name');
|
||||
var objectId = $(e.currentTarget).attr('data-recipe-id');
|
||||
var button = $(this);
|
||||
var servings = $(e.currentTarget).attr('data-mealplan-servings');
|
||||
@@ -667,7 +667,7 @@ $(document).on('click', '.recipe-consume-button', function(e)
|
||||
// to prevent that the tooltip stays until clicked anywhere else
|
||||
document.activeElement.blur();
|
||||
|
||||
var objectName = SanitizeHtml($(e.currentTarget).attr('data-recipe-name'));
|
||||
var objectName = $(e.currentTarget).attr('data-recipe-name');
|
||||
var objectId = $(e.currentTarget).attr('data-recipe-id');
|
||||
var servings = $(e.currentTarget).attr('data-mealplan-servings');
|
||||
|
||||
|
Reference in New Issue
Block a user