Fixed recipeposform edit when "Only check if a single unit is in stock" is set (fixes #535)

This commit is contained in:
Bernd Bestel
2020-02-01 09:03:30 +01:00
parent 55c5501d96
commit debb29ddaa
2 changed files with 4 additions and 3 deletions

View File

@@ -4,5 +4,6 @@
### Shopping list fixes ### Shopping list fixes
- Optimized the new compact view (there was a little too much white space at the sides of the page) - Optimized the new compact view (there was a little too much white space at the sides of the page)
### Recipe improvements ### Recipe improvements/fixes
- Fixed that when editing a recipe ingredient which had "Only check if a single unit is in stock" set, not any quantity unit could be picked and the amount stayed empty
- Optimized the ordering of the inputs on the recipe ingredient edit page (moved "Only check if a single unit is in stock" before the amount) - Optimized the ordering of the inputs on the recipe ingredient edit page (moved "Only check if a single unit is in stock" before the amount)

View File

@@ -154,5 +154,5 @@ $("#only_check_single_unit_in_stock").on("click", function()
}); });
// Click twice to trigger on-click but not change the actual checked state // Click twice to trigger on-click but not change the actual checked state
//$("#only_check_single_unit_in_stock").click(); $("#only_check_single_unit_in_stock").click();
//$("#only_check_single_unit_in_stock").click(); $("#only_check_single_unit_in_stock").click();