[FIX] account: avoid usage of this in closure

Oversight of previous forward-port.
This commit is contained in:
Christophe Simonis
2019-06-14 17:29:51 +02:00
parent 34a8754d4f
commit 131e478ae6
@@ -478,9 +478,9 @@ var LineRenderer = Widget.extend(FieldManagerMixin, {
});
if (state.to_check) {
// Set the to_check field to true if global to_check is set
this.$('.create_to_check input').prop('checked', state.to_check).change();
self.$('.create_to_check input').prop('checked', state.to_check).change();
}
return true;
return true;
});
});
}