From 86720923c5933ab799f3e21b447d64cdb8be917e Mon Sep 17 00:00:00 2001 From: anhefti Date: Mon, 29 Jul 2019 16:46:10 +0200 Subject: [PATCH] minor fixes --- src/main/java/ch/ethz/seb/sebserver/gui/content/ExamForm.java | 1 + .../ch/ethz/seb/sebserver/gui/content/SebExamConfigPropForm.java | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main/java/ch/ethz/seb/sebserver/gui/content/ExamForm.java b/src/main/java/ch/ethz/seb/sebserver/gui/content/ExamForm.java index d86efd8c..e40b7006 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gui/content/ExamForm.java +++ b/src/main/java/ch/ethz/seb/sebserver/gui/content/ExamForm.java @@ -390,6 +390,7 @@ public class ExamForm implements TemplateComposer { .newAction(ActionDefinition.SEB_EXAM_CONFIG_GET_CONFIG_KEY) .withEntityKey(entityKey) .withExec(SebExamConfigPropForm.getConfigKeyFunction(this.pageService)) + .noEventPropagation() .publishIf(() -> userGrantCheck.r()); ; } diff --git a/src/main/java/ch/ethz/seb/sebserver/gui/content/SebExamConfigPropForm.java b/src/main/java/ch/ethz/seb/sebserver/gui/content/SebExamConfigPropForm.java index edfd7e24..819d2e7c 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gui/content/SebExamConfigPropForm.java +++ b/src/main/java/ch/ethz/seb/sebserver/gui/content/SebExamConfigPropForm.java @@ -198,6 +198,7 @@ public class SebExamConfigPropForm implements TemplateComposer { .newAction(ActionDefinition.SEB_EXAM_CONFIG_GET_CONFIG_KEY) .withEntityKey(entityKey) .withExec(SebExamConfigPropForm.getConfigKeyFunction(this.pageService)) + .noEventPropagation() .publishIf(() -> readGrant && isReadonly) .newAction(ActionDefinition.SEB_EXAM_CONFIG_SAVE)