changeset 3bc0867dcde1 in sao:5.2
details: https://hg.tryton.org/sao?cmd=changeset;node=3bc0867dcde1
description:
Remove record, field from display_update_selection of multiselection
The method on selection does not have those parameters anymore.
issue8385
review287381003
(grafted from 3a66e4367396e7322498b0e76ee293278ba97833)
diffstat:
src/view/form.js | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (15 lines):
diff -r 8c310317d2ed -r 3bc0867dcde1 src/view/form.js
--- a/src/view/form.js Wed Jun 12 19:06:19 2019 +0200
+++ b/src/view/form.js Wed Jun 12 19:08:46 2019 +0200
@@ -3617,8 +3617,10 @@
this, view, attributes);
this.select.prop('multiple', true);
},
- display_update_selection: function(record, field) {
+ display_update_selection: function() {
var i, len, element;
+ var record = this.record;
+ var field = this.field;
this.update_selection(record, field, function() {
var yexpand = this.attributes.yexpand;
if (yexpand === undefined) {