mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Correct error message to match the field name.
This commit is contained in:
parent
af25a11dde
commit
3b2ef2961b
@ -306,7 +306,7 @@ function($, _, S, pgAdmin, pgBrowser, Alertify) {
|
||||
var name = this.get('name');
|
||||
if (_.isUndefined(name) || _.isNull(name) ||
|
||||
String(name).replace(/^\s+|\s+$/g, '') == '') {
|
||||
var msg = '{{ _('Name can not be empty!') }}';
|
||||
var msg = '{{ _('Database name cannot be empty!') }}';
|
||||
this.errorModel.set('name', msg);
|
||||
return msg;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user