More modal iframe dialog handling improvements

This commit is contained in:
Bernd Bestel
2025-01-10 20:58:30 +01:00
parent a373f8ae4b
commit 5721c4bd62
6 changed files with 10 additions and 46 deletions

View File

@@ -223,16 +223,7 @@ $(document).on('click', '.recipe-pos-edit-button', function(e)
size: 'large',
backdrop: true,
closeButton: false,
buttons: {
cancel: {
label: __t('Cancel'),
className: 'btn-secondary responsive-button',
callback: function()
{
$(".modal").last().modal("hide");
}
}
}
className: "form"
});
});
@@ -269,16 +260,7 @@ $("#recipe-pos-add-button").on("click", function(e)
size: 'large',
backdrop: true,
closeButton: false,
buttons: {
cancel: {
label: __t('Cancel'),
className: 'btn-secondary responsive-button',
callback: function()
{
$(".modal").last().modal("hide");
}
}
}
className: "form"
});
});