diff --git a/sao/src/view/tree.js b/sao/src/view/tree.js index 7aad6bbd69..7e49ef82ea 100644 --- a/sao/src/view/tree.js +++ b/sao/src/view/tree.js @@ -2890,10 +2890,10 @@ var text_value = this.get_textual_value(record); cell.text(text_value).attr('title', text_value); } else { - this.update_selection(record, () => { + this.update_selection(record, (selection, help) => { var value = this.field.get(record); var prm, text, found = false; - for (const option of this.selection) { + for (const option of selection) { if (option[0] === value) { found = true; text = option[1];