mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-27 12:53:13 +03:00
parent
b3cc769f6f
commit
8c25c28441
@ -45,9 +45,10 @@
|
||||
|
||||
Ghost.Validate.handleErrors = function () {
|
||||
_.each(Ghost.Validate._errors, function (errorObj) {
|
||||
|
||||
Ghost.notifications.addItem({
|
||||
type: 'error',
|
||||
message: errorObj.message,
|
||||
message: errorObj.message || errorObj,
|
||||
status: 'passive'
|
||||
});
|
||||
if (errorObj.hasOwnProperty('el')) {
|
||||
|
Loading…
Reference in New Issue
Block a user