changeset 9915d18ef7e7 in sao:default
details: https://hg.tryton.org/sao?cmd=changeset&node=9915d18ef7e7
description:
        Use column instead of optional variable to loop over optionals

        This was the original variable name before changeset 9efb7fa52876.

        issue11441
diffstat:

 src/view/tree.js |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 7cae3ee7c17b -r 9915d18ef7e7 src/view/tree.js
--- a/src/view/tree.js  Mon Apr 25 23:22:20 2022 +0200
+++ b/src/view/tree.js  Fri Apr 29 23:25:36 2022 +0200
@@ -337,7 +337,7 @@
         },
         save_optional: function(store=true) {
             var fields = {};
-            for (const optional of this.optionals) {
+            for (const column of this.optionals) {
                 fields[column.attributes.name] = !column.get_visible();
             }
             if (store) {

Reply via email to