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:
Ashesh Vashi 2016-05-12 15:51:16 +05:30
parent a4d981cced
commit d768faf2ea

View File

@ -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();