mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 01:32:38 +00:00
Tried to fix inventory form validation again (closes #167)
This commit is contained in:
parent
bfcd05473a
commit
353a65d41c
@ -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');
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user