Tab.save should always return a promise

This commit is contained in:
Cédric Krier committed 2015-05-07 12:10:11 +02:00
1 parent 5a8d38a905
commit 1e44b10600
1 file changed
+1 -1
+1 -1
View File
@@ -409,7 +409,7 @@
},
save: function() {
if (!Sao.common.MODELACCESS.get(this.screen.model_name).write) {
return;
return jQuery.when();
}
// TODO message
return this.screen.save_current();