summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src/main/java/org/openslx/dozmod
diff options
context:
space:
mode:
authorJonathan Bauer2015-09-03 15:44:50 +0200
committerJonathan Bauer2015-09-03 15:44:50 +0200
commitb1085f58d37dbfce213ad00108d8a1ddc5d7a42f (patch)
treed92d7dae66aa5ac3a7fb5bb5aa92fca474911259 /dozentenmodul/src/main/java/org/openslx/dozmod
parent[server] Update usage stats of lectures (diff)
downloadtutor-module-b1085f58d37dbfce213ad00108d8a1ddc5d7a42f.tar.gz
tutor-module-b1085f58d37dbfce213ad00108d8a1ddc5d7a42f.tar.xz
tutor-module-b1085f58d37dbfce213ad00108d8a1ddc5d7a42f.zip
[client] removed old success message when creating a new lecture, now always refresh lecture cache and go to the lecture list window
Diffstat (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod')
-rw-r--r--dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/LectureWizard.java9
1 files changed, 3 insertions, 6 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/LectureWizard.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/LectureWizard.java
index fe8da98b..cdef98cd 100644
--- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/LectureWizard.java
+++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/LectureWizard.java
@@ -97,12 +97,9 @@ public class LectureWizard extends Wizard implements UiFeedback {
if (!ThriftActions.writeLecturePermissions(JOptionPane.getFrameForComponent(this), state.uuid, state.permissionMap))
return false;
- // all good, feedback
- if (Gui.showMessageBox(this, "Veranstaltung erstellt! Wollen Sie zur Übersicht wechseln?",
- MessageType.QUESTION_YESNO, null, null)) {
- LectureCache.get(true);
- MainWindow.showPage(LectureListWindow.class);
- }
+ // all good, refresh cache and change to LectureList
+ LectureCache.get(true);
+ MainWindow.showPage(LectureListWindow.class);
return true;
}