mirror of
https://github.com/grocy/grocy.git
synced 2025-08-21 04:43:32 +00:00
Squashed commit
Make it possible to actively not-check a mandatory checkbox Userfield (closes #2601) Pluralize the "opened" localization string (closes #2280) Added a trendline to the price history chart (closes #2237) Various minor style/code refinements
This commit is contained in:
@@ -559,7 +559,6 @@ $("#description").on("summernote.change", function()
|
||||
$(document).on("click", "#save-description-button", function(e)
|
||||
{
|
||||
e.preventDefault();
|
||||
document.activeElement.blur();
|
||||
|
||||
Grocy.Api.Put('objects/shopping_lists/' + $("#selected-shopping-list").val(), { description: $("#description").val() },
|
||||
function(result)
|
||||
@@ -576,7 +575,6 @@ $(document).on("click", "#save-description-button", function(e)
|
||||
$(document).on("click", "#clear-description-button", function(e)
|
||||
{
|
||||
e.preventDefault();
|
||||
document.activeElement.blur();
|
||||
|
||||
$("#description").summernote("reset");
|
||||
$("#save-description-button").click();
|
||||
|
Reference in New Issue
Block a user