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:
@@ -845,7 +845,7 @@ function($, _, S, pgAdmin, Menu, Backbone, Alertify, pgBrowser, Backform) {
|
|||||||
if (d && !_.isEmpty(d)) {
|
if (d && !_.isEmpty(d)) {
|
||||||
m.save({}, {
|
m.save({}, {
|
||||||
attrs: d,
|
attrs: d,
|
||||||
validate: true,
|
validate: false,
|
||||||
cache: false,
|
cache: false,
|
||||||
success: function() {
|
success: function() {
|
||||||
onSaveFunc.call();
|
onSaveFunc.call();
|
||||||
|
|||||||
Reference in New Issue
Block a user