mirror of
https://github.com/grocy/grocy.git
synced 2026-04-05 20:36:15 +02:00
on document ready stockdetail filter based on ProductPicker
This commit is contained in:
parent
ba2a2ed823
commit
6a77d36bc1
|
|
@ -19,7 +19,6 @@ $.fn.dataTable.ext.search.push(function(settings, data, dataIndex)
|
|||
return false;
|
||||
});
|
||||
|
||||
Grocy.Components.ProductPicker.GetPicker().trigger('change');
|
||||
|
||||
Grocy.Components.ProductPicker.GetPicker().on('change', function(e)
|
||||
{
|
||||
|
|
@ -231,6 +230,8 @@ $(window).on("message", function(e)
|
|||
}
|
||||
});
|
||||
|
||||
Grocy.Components.ProductPicker.GetPicker().trigger('change');
|
||||
|
||||
function UndoStockBookingEntry(bookingId, stockRowId)
|
||||
{
|
||||
Grocy.Api.Post('stock/bookings/' + bookingId.toString() + '/undo', { },
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user