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.pull/3/head
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