Tried to fix inventory form validation again (closes #167)

This commit is contained in:
Bernd Bestel 2019-03-10 16:08:15 +01:00
parent bfcd05473a
commit 353a65d41c
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300

View File

@ -252,4 +252,8 @@ $("#datetimepicker-shortcut").on("click", function()
Grocy.Components.DateTimePicker.GetInputElement().removeAttr("readonly");
Grocy.Components.DateTimePicker.GetInputElement().focus();
}
Grocy.Components.DateTimePicker.GetInputElement().trigger('input');
Grocy.Components.DateTimePicker.GetInputElement().trigger('change');
Grocy.Components.DateTimePicker.GetInputElement().trigger('keypress');
});