mirror of
https://github.com/grocy/grocy.git
synced 2025-08-15 02:04:38 +00:00
Applied VSCode JS formatting settings
This commit is contained in:
@@ -19,7 +19,7 @@ $("#search").on("keyup", Delay(function()
|
||||
userobjectsTable.search(value).draw();
|
||||
}, 200));
|
||||
|
||||
$(document).on('click', '.userobject-delete-button', function (e)
|
||||
$(document).on('click', '.userobject-delete-button', function(e)
|
||||
{
|
||||
var objectId = $(e.currentTarget).attr('data-userobject-id');
|
||||
|
||||
@@ -40,7 +40,7 @@ $(document).on('click', '.userobject-delete-button', function (e)
|
||||
{
|
||||
if (result === true)
|
||||
{
|
||||
Grocy.Api.Delete('objects/userobjects/' + objectId, { },
|
||||
Grocy.Api.Delete('objects/userobjects/' + objectId, {},
|
||||
function(result)
|
||||
{
|
||||
window.location.reload();
|
||||
|
Reference in New Issue
Block a user