mirror of
https://github.com/grocy/grocy.git
synced 2025-08-18 03:25:50 +00:00
Rework API to be more RESTful (references #139)
This commit is contained in:
@@ -56,7 +56,7 @@ $(document).on('click', '.undo-chore-execution-button', function(e)
|
||||
var element = $(e.currentTarget);
|
||||
var executionId = $(e.currentTarget).attr('data-execution-id');
|
||||
|
||||
Grocy.Api.Post('chores/' + executionId.toString() + '/undo',
|
||||
Grocy.Api.Post('chores/' + executionId.toString() + '/undo', { },
|
||||
function(result)
|
||||
{
|
||||
element.closest("tr").addClass("text-muted");
|
||||
|
Reference in New Issue
Block a user