Add missing this binding in forEach method in Attachment.callback

This commit is contained in:
Cédric Krier committed 2016-05-19 12:54:22 +02:00
1 parent e9462ce756
commit de3f83ab23
1 file changed
+1 -1
+1 -1
View File
@@ -404,7 +404,7 @@
var resource = this.screen.group.model.fields.resource;
this.screen.group.forEach(function(record) {
resource.set_client(record, this.resource);
});
}.bind(this));
prm = this.screen.group.save();
}
if (this.attachment_callback) {