mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
parent
117f70dcfd
commit
7635ddee78
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue