mirror of
https://github.com/grocy/grocy.git
synced 2025-10-12 16:44:55 +00:00
More modal iframe dialog handling improvements
This commit is contained in:
@@ -927,6 +927,8 @@ $(document).on("click", ".display-recipe-button", function(e)
|
||||
Grocy.Api.Put('objects/recipes/' + objectId, { "desired_servings": servings },
|
||||
function(result)
|
||||
{
|
||||
$("body").addClass("fullscreen-card");
|
||||
|
||||
bootbox.dialog({
|
||||
message: '<iframe class="embed-responsive" src="' + U("/recipes?embedded&recipe=") + objectId + '#fullscreen"></iframe>',
|
||||
size: 'extra-large',
|
||||
|
Reference in New Issue
Block a user