mirror of
https://github.com/NaN-tic/sao-base.git
synced 2023-12-14 03:13:01 +01:00
Add missing this binding in forEach method in Attachment.callback
This commit is contained in:
parent
7274c21d9d
commit
d9e59b2945
1 changed files with 1 additions and 1 deletions
|
@ -404,7 +404,7 @@
|
||||||
var resource = this.screen.group.model.fields.resource;
|
var resource = this.screen.group.model.fields.resource;
|
||||||
this.screen.group.forEach(function(record) {
|
this.screen.group.forEach(function(record) {
|
||||||
resource.set_client(record, this.resource);
|
resource.set_client(record, this.resource);
|
||||||
});
|
}.bind(this));
|
||||||
prm = this.screen.group.save();
|
prm = this.screen.group.save();
|
||||||
}
|
}
|
||||||
if (this.attachment_callback) {
|
if (this.attachment_callback) {
|
||||||
|
|
Loading…
Reference in a new issue