Applied formatting rules for by #1000 changed files

This commit is contained in:
Bernd Bestel
2020-09-14 11:20:29 +02:00
parent 64c050fc0d
commit 4b5b7bcb19
7 changed files with 23 additions and 20 deletions

View File

@@ -12,9 +12,6 @@ Grocy.Components.DateTimePicker2.GetValue = function()
Grocy.Components.DateTimePicker2.SetValue = function(value)
{
Grocy.Components.DateTimePicker2.GetInputElement().val(value);
Grocy.Components.DateTimePicker2.GetInputElement().trigger('change');
// "Click" the shortcut checkbox when the desired value is
// not the shortcut value and it is currently set
var shortcutValue = $("#datetimepicker2-shortcut").data("datetimepicker2-shortcut-value");
@@ -23,6 +20,9 @@ Grocy.Components.DateTimePicker2.SetValue = function(value)
$("#datetimepicker2-shortcut").click();
}
Grocy.Components.DateTimePicker2.GetInputElement().val(value);
Grocy.Components.DateTimePicker2.GetInputElement().trigger('change');
Grocy.Components.DateTimePicker2.GetInputElement().keyup();
}