mirror of
https://github.com/grocy/grocy.git
synced 2025-08-17 11:06:36 +00:00
Optimized Userfield save event handling (fixes #2458)
This commit is contained in:
@@ -344,7 +344,7 @@ $("#reschedule-chore-save-button").on("click", function(e)
|
||||
},
|
||||
function(xhr)
|
||||
{
|
||||
Grocy.FrontendHelpers.ShowGenericError('Error while saving, probably this item already exists', xhr.response)
|
||||
Grocy.FrontendHelpers.ShowGenericError('Error while saving, probably this item already exists', xhr.response);
|
||||
}
|
||||
);
|
||||
});
|
||||
@@ -369,7 +369,7 @@ $("#reschedule-chore-clear-button").on("click", function(e)
|
||||
},
|
||||
function(xhr)
|
||||
{
|
||||
Grocy.FrontendHelpers.ShowGenericError('Error while saving, probably this item already exists', xhr.response)
|
||||
Grocy.FrontendHelpers.ShowGenericError('Error while saving, probably this item already exists', xhr.response);
|
||||
}
|
||||
);
|
||||
});
|
||||
|
Reference in New Issue
Block a user