mirror of
https://github.com/grocy/grocy.git
synced 2025-08-13 17:27:23 +00:00
Show generic error message on saving master data (this closes #45)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user