mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Do not validate the attributes on saving, because - sometimes it results
into an error, and does not call the callback - 'success/fail' internally. And, that will not close the property dialog in those cases. Reported by Harshal Dhumal.
This commit is contained in:
parent
a4d981cced
commit
d768faf2ea
@ -845,7 +845,7 @@ function($, _, S, pgAdmin, Menu, Backbone, Alertify, pgBrowser, Backform) {
|
||||
if (d && !_.isEmpty(d)) {
|
||||
m.save({}, {
|
||||
attrs: d,
|
||||
validate: true,
|
||||
validate: false,
|
||||
cache: false,
|
||||
success: function() {
|
||||
onSaveFunc.call();
|
||||
|
Loading…
Reference in New Issue
Block a user