mirror of
https://github.com/grocy/grocy.git
synced 2025-10-12 16:44: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:
@@ -77,7 +77,7 @@ $(".status-filter-message").on("click", function()
|
||||
|
||||
$("#delete-selected-shopping-list").on("click", function()
|
||||
{
|
||||
var objectName = SanitizeHtml($("#selected-shopping-list option:selected").text());
|
||||
var objectName = $("#selected-shopping-list option:selected").text();
|
||||
var objectId = $("#selected-shopping-list").val();
|
||||
|
||||
bootbox.confirm({
|
||||
@@ -172,7 +172,7 @@ $(document).on('click', '#add-expired-products', function(e)
|
||||
$(document).on('click', '#clear-shopping-list', function(e)
|
||||
{
|
||||
bootbox.confirm({
|
||||
message: __t('Are you sure to empty shopping list "%s"?', SanitizeHtml($("#selected-shopping-list option:selected").text())),
|
||||
message: __t('Are you sure to empty shopping list "%s"?', $("#selected-shopping-list option:selected").text()),
|
||||
closeButton: false,
|
||||
buttons: {
|
||||
confirm: {
|
||||
|
Reference in New Issue
Block a user