Add missing this binding in forEach method in Attachment.callback

This commit is contained in:
C?dric Krier 2016-05-19 12:54:22 +02:00
parent 7274c21d9d
commit d9e59b2945
1 changed files with 1 additions and 1 deletions

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) {