diff --git a/CHANGELOG.md b/CHANGELOG.md index 7240772d..868c9b75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.14.3 + +- widgets + - clone/fragment: remove scripting properties as theyr are supposed to bo overriden in `props` + ## 1.14.2 - bug fixes diff --git a/src/client/widgets/containers/clone.js b/src/client/widgets/containers/clone.js index 0ac758e8..428a9f53 100644 --- a/src/client/widgets/containers/clone.js +++ b/src/client/widgets/containers/clone.js @@ -26,13 +26,12 @@ class Clone extends Container() { props: {type: 'object', value: {}, editor: 'javascript', syntaxChecker: false, help: 'Cloned widget\'s properties to override'}, }, value: null, - osc: null + osc: null, + scripting: null }) defaults.style = {css: defaults.style.css} - delete defaults.scripting - return defaults } diff --git a/src/client/widgets/containers/fragment.js b/src/client/widgets/containers/fragment.js index 679c3ee1..94883996 100644 --- a/src/client/widgets/containers/fragment.js +++ b/src/client/widgets/containers/fragment.js @@ -28,7 +28,8 @@ class Fragment extends Container() { props: {type: 'object', value: {}, editor: 'javascript', syntaxChecker: false, help: 'Fragment widget\'s properties to override'}, }, value: null, - osc: null + osc: null, + scripting: null }) defaults.style = {css: defaults.style.css}