From 08c86ffbb2a940cb27e719270f06a6624bb6531c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 3 Jan 2022 22:41:15 +0100 Subject: [PATCH] Duplicate field properties before modifying them issue11087 review381571004 --- src/screen.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/screen.js b/src/screen.js index 15c75b96e7..bdbc5e1273 100644 --- a/src/screen.js +++ b/src/screen.js @@ -1758,7 +1758,9 @@ if (props.selection instanceof Array) { continue; } + props = jQuery.extend({}, props); props.selection = this.get_selection(props); + fields[name] = props; } if ('arch' in view_tree) {