diff --git a/changelog/74_UNRELEASED_xxxx-xx-xx.md b/changelog/74_UNRELEASED_xxxx-xx-xx.md index c52076a4..d8e15835 100644 --- a/changelog/74_UNRELEASED_xxxx-xx-xx.md +++ b/changelog/74_UNRELEASED_xxxx-xx-xx.md @@ -59,6 +59,7 @@ - Optimized sidebar icon spacing (thanks @chris-thorn) - Fixed that file uploads (product pictures and so on) didn't work for files where the file name contains multiple spaces +- Fixed that some dialogs were not properly (too small) displayed in Firefox >= 121 ### API diff --git a/public/js/grocy.js b/public/js/grocy.js index ac1184d9..0a437055 100644 --- a/public/js/grocy.js +++ b/public/js/grocy.js @@ -564,10 +564,6 @@ $(window).on('resize', function() { ResizeResponsiveEmbeds($("body").hasClass("fullscreen-card")); }); -$("iframe").on("load", function() -{ - ResizeResponsiveEmbeds($("body").hasClass("fullscreen-card")); -}); function WindowMessageBag(message, payload = null) { @@ -708,7 +704,7 @@ $(document).on("click", ".show-as-dialog-link", function(e) var link = $(e.currentTarget).attr("href"); bootbox.dialog({ - message: '', + message: '', size: 'large', backdrop: true, closeButton: false, diff --git a/public/viewjs/mealplan.js b/public/viewjs/mealplan.js index a068d6c2..fbc40cc1 100644 --- a/public/viewjs/mealplan.js +++ b/public/viewjs/mealplan.js @@ -927,7 +927,7 @@ $(document).on("click", ".display-recipe-button", function(e) function(result) { bootbox.dialog({ - message: '', + message: '', size: 'extra-large', backdrop: true, closeButton: false, diff --git a/public/viewjs/quantityunitform.js b/public/viewjs/quantityunitform.js index 08b6ebc7..366030bd 100644 --- a/public/viewjs/quantityunitform.js +++ b/public/viewjs/quantityunitform.js @@ -198,7 +198,7 @@ $("#test-quantityunit-plural-forms-button").on("click", function(e) $("#save-quantityunit-button").click(); bootbox.alert({ - message: '', + message: '', closeButton: false, size: "large", callback: function(result) diff --git a/public/viewjs/recipeform.js b/public/viewjs/recipeform.js index 383f182e..2c128404 100644 --- a/public/viewjs/recipeform.js +++ b/public/viewjs/recipeform.js @@ -220,7 +220,7 @@ $(document).on('click', '.recipe-pos-edit-button', function(e) var recipePosId = $(e.currentTarget).attr('data-recipe-pos-id'); bootbox.dialog({ - message: '', + message: '', size: 'large', backdrop: true, closeButton: false, @@ -266,7 +266,7 @@ $("#recipe-pos-add-button").on("click", function(e) e.preventDefault(); bootbox.dialog({ - message: '', + message: '', size: 'large', backdrop: true, closeButton: false, diff --git a/public/viewjs/recipes.js b/public/viewjs/recipes.js index 5df5100b..d37d7fa3 100644 --- a/public/viewjs/recipes.js +++ b/public/viewjs/recipes.js @@ -291,7 +291,7 @@ recipesTables.on('select', function(e, dt, type, indexes) else { bootbox.dialog({ - message: '', + message: '', size: 'extra-large', backdrop: true, closeButton: false, @@ -323,7 +323,7 @@ $(".recipe-gallery-item").on("click", function(e) else { bootbox.dialog({ - message: '', + message: '', size: 'extra-large', backdrop: true, closeButton: false, diff --git a/views/shoppinglist.blade.php b/views/shoppinglist.blade.php index 394f5616..2c4e4b4d 100644 --- a/views/shoppinglist.blade.php +++ b/views/shoppinglist.blade.php @@ -322,8 +322,7 @@