mirror of
https://github.com/grocy/grocy.git
synced 2025-10-12 16:44:55 +00:00
Workaround for datepicker problem (fixes #100)
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
{
|
||||
$('#amount').val(0);
|
||||
$('#price').val('');
|
||||
Grocy.Components.DateTimePicker.SetValue('');
|
||||
Grocy.Components.DateTimePicker.Clear();
|
||||
Grocy.Components.ProductPicker.SetValue('');
|
||||
Grocy.Components.ProductPicker.GetInputElement().focus();
|
||||
Grocy.FrontendHelpers.ValidateForm('purchase-form');
|
||||
|
Reference in New Issue
Block a user