Add missing this binding in forEach method in Attachment.callback
This commit is contained in:
1 parent
e9462ce756
commit
de3f83ab23
1 file changed
+1
-1
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user