Show generic error message on saving master data (this closes #45)

This commit is contained in:
Bernd Bestel
2018-09-08 09:26:12 +02:00
parent 496594d898
commit b01b49d10c
8 changed files with 29 additions and 12 deletions

View File

@@ -11,7 +11,7 @@
},
function(xhr)
{
console.error(xhr);
Grocy.FrontendHelpers.ShowGenericError('Error while saving, probably this item already exists', xhr.response)
}
);
}
@@ -24,7 +24,7 @@
},
function(xhr)
{
console.error(xhr);
Grocy.FrontendHelpers.ShowGenericError('Error while saving, probably this item already exists', xhr.response)
}
);
}