Use column instead of optional variable to loop over optionals
This was the original variable name before changeset 9efb7fa52876. issue11441
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user