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)) {
|
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();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue