fixed bug with ad hoc testing LMS Setup in edit view

This commit is contained in:
anhefti 2021-01-12 09:55:49 +01:00
parent d23357248e
commit 5f30aa9c2e

View file

@ -330,6 +330,7 @@ public class LmsSetupForm implements TemplateComposer {
.newAction(ActionDefinition.LMS_SETUP_TEST_EDIT)
.withEntityKey(entityKey)
.withExec(action -> this.testAdHoc(action, formHandle))
.noEventPropagation()
.ignoreMoveAwayFromEdit()
.publishIf(() -> !readonly && !isNew.getAsBoolean())