mirror of
https://github.com/grocy/grocy.git
synced 2026-03-28 07:39:25 +01:00
Merge pull request #1788 from andreheuer/master
Fixed battery label printing
This commit is contained in:
commit
486a58909d
|
|
@ -88,7 +88,7 @@ $(document).on('click', '.battery-grocycode-label-print', function(e)
|
|||
e.preventDefault();
|
||||
document.activeElement.blur();
|
||||
|
||||
var batteryId = $(e.currentTarget).attr('data-chore-id');
|
||||
var batteryId = $(e.currentTarget).attr('data-battery-id');
|
||||
Grocy.Api.Get('batteries/' + batteryId + '/printlabel', function(labelData)
|
||||
{
|
||||
if (Grocy.Webhooks.labelprinter !== undefined)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user