mirror of
https://github.com/grocy/grocy.git
synced 2025-10-12 16:44:55 +00:00
Excape HTML (where needed, for bootbox) (references #996)
This commit is contained in:
@@ -162,7 +162,7 @@ $('#product_id_text_input').on('blur', function(e)
|
||||
|
||||
Grocy.Components.ProductPicker.PopupOpen = true;
|
||||
bootbox.dialog({
|
||||
message: __t('"%s" could not be resolved to a product, how do you want to proceed?', input),
|
||||
message: __t('"%s" could not be resolved to a product, how do you want to proceed?', SanitizeHtml(input)),
|
||||
title: __t('Create or assign product'),
|
||||
onEscape: function()
|
||||
{
|
||||
|
Reference in New Issue
Block a user