From 529e3a84f22ef8152a0afd6020b9466f1885df91 Mon Sep 17 00:00:00 2001 From: anhefti Date: Mon, 1 Apr 2019 14:13:09 +0200 Subject: [PATCH] SEBSERV-33 should be fixed also for edge browser --- .../ch/ethz/seb/sebserver/gui/content/LmsSetupForm.java | 1 + .../ethz/seb/sebserver/gui/content/QuizDiscoveryList.java | 1 - .../java/ch/ethz/seb/sebserver/gui/table/TableFilter.java | 7 +++++++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/main/java/ch/ethz/seb/sebserver/gui/content/LmsSetupForm.java b/src/main/java/ch/ethz/seb/sebserver/gui/content/LmsSetupForm.java index 040d70b7..ed54ed0d 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gui/content/LmsSetupForm.java +++ b/src/main/java/ch/ethz/seb/sebserver/gui/content/LmsSetupForm.java @@ -189,6 +189,7 @@ public class LmsSetupForm implements TemplateComposer { .newAction(ActionDefinition.LMS_SETUP_TEST) .withEntityKey(entityKey) .withExec(action -> this.testLmsSetup(action, formHandle)) + .ignoreMoveAwayFromEdit() .publishIf(() -> modifyGrant && isNotNew.getAsBoolean() && institutionActive) .newAction(ActionDefinition.LMS_SETUP_DEACTIVATE) diff --git a/src/main/java/ch/ethz/seb/sebserver/gui/content/QuizDiscoveryList.java b/src/main/java/ch/ethz/seb/sebserver/gui/content/QuizDiscoveryList.java index 91ecbe44..3f852e53 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gui/content/QuizDiscoveryList.java +++ b/src/main/java/ch/ethz/seb/sebserver/gui/content/QuizDiscoveryList.java @@ -196,7 +196,6 @@ public class QuizDiscoveryList implements TemplateComposer { } private void createDetailsForm(final QuizData quizData, final PageContext pc) { - this.widgetFactory.labelSeparator(pc.getParent()); this.pageService.formBuilder(pc, 4) .readonly(true) .addField(FormBuilder.singleSelection( diff --git a/src/main/java/ch/ethz/seb/sebserver/gui/table/TableFilter.java b/src/main/java/ch/ethz/seb/sebserver/gui/table/TableFilter.java index 55d02722..8b20c511 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gui/table/TableFilter.java +++ b/src/main/java/ch/ethz/seb/sebserver/gui/table/TableFilter.java @@ -328,6 +328,13 @@ public class TableFilter { } } + @Override + boolean adaptWidth(final int width) { + // NOTE: for some unknown reason RWT acts differently on width-property for text inputs and selectors + // this is to adjust selection filter criteria to the list column width + return super.adaptWidth(width + 25); + } + } }