Commit 8886a576 authored by Steffen Michels's avatar Steffen Michels

Merge branch 'fix-editor-duplication' into 'master'

Fixed accidental duplication of editor initialization code when wrapping editors in layout.

Closes #364 and #360

See merge request !365
parents 540ef351 daaeaaf5
Pipeline #35236 passed with stage
in 6 minutes and 55 seconds
......@@ -80,6 +80,7 @@ where
wrapEditor = sequenceLayouts
[wrapUI UIContainer
,copySubUIAttributes SelectAll [0] []
,delUIAttributes (SelectKeys ["initUI","taskId","editorId"]) //Don't duplicate the UI initialization code
,layoutSubUIs hasTitle (setUIType UIPanel)
,layoutSubUIs hasPrompt (sequenceLayouts [createPrompt,fillPrompt])
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment