Bug 33354: Show all form error messages in the warning dialog
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
816b1a3e3f
commit
98adcf957b
2 changed files with 2 additions and 6 deletions
|
@ -327,9 +327,7 @@ export default {
|
|||
)
|
||||
}
|
||||
})
|
||||
errors.forEach(function (e) {
|
||||
setWarning(e)
|
||||
})
|
||||
setWarning(errors.join("<br>"))
|
||||
return !errors.length
|
||||
},
|
||||
onSubmit(e) {
|
||||
|
|
|
@ -233,9 +233,7 @@ export default {
|
|||
)
|
||||
}
|
||||
})
|
||||
errors.forEach(function (e) {
|
||||
setWarning(e)
|
||||
})
|
||||
setWarning(errors.join("<br>"))
|
||||
return !errors.length
|
||||
},
|
||||
onSubmit(e) {
|
||||
|
|
Loading…
Reference in a new issue