Pass validate to the next callback

This commit is contained in:
Cédric Krier committed 2015-05-15 17:16:58 +02:00
1 parent e3ea92f3b6
commit 16a6949552
1 file changed
+1
+1
View File
@@ -226,6 +226,7 @@
if (validate && this.screen.attributes.pre_validate) {
return this.screen.current_record.pre_validate();
}
return validate;
}.bind(this)).then(function(validate) {
var closing_prm = jQuery.Deferred();
if (validate && this.save_current) {