fixed selection
This commit is contained in:
parent
5fe710e966
commit
c29bfe67be
1 changed files with 14 additions and 5 deletions
|
@ -213,11 +213,7 @@ public class MonitoringRunningExam implements TemplateComposer {
|
||||||
.withEntityKey(entityKey)
|
.withEntityKey(entityKey)
|
||||||
.withSelect(
|
.withSelect(
|
||||||
() -> this.selectionForInstruction(clientTable),
|
() -> this.selectionForInstruction(clientTable),
|
||||||
action -> this.sebSendLockPopup.show(
|
action -> this.showSEBLockActionPopup(action, clientTable),
|
||||||
action,
|
|
||||||
statesPredicate -> clientTable.getConnectionTokens(
|
|
||||||
statesPredicate,
|
|
||||||
true)),
|
|
||||||
EMPTY_ACTIVE_SELECTION_TEXT_KEY)
|
EMPTY_ACTIVE_SELECTION_TEXT_KEY)
|
||||||
.noEventPropagation()
|
.noEventPropagation()
|
||||||
.publishIf(isExamSupporter, false)
|
.publishIf(isExamSupporter, false)
|
||||||
|
@ -279,6 +275,19 @@ public class MonitoringRunningExam implements TemplateComposer {
|
||||||
fullPageMonitoringUpdate.start(pageContext, content, this.pollInterval);
|
fullPageMonitoringUpdate.start(pageContext, content, this.pollInterval);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private PageAction showSEBLockActionPopup(
|
||||||
|
final PageAction action,
|
||||||
|
final ClientConnectionTable clientTable) {
|
||||||
|
|
||||||
|
this.sebSendLockPopup.show(
|
||||||
|
action,
|
||||||
|
statesPredicate -> clientTable.getConnectionTokens(
|
||||||
|
statesPredicate,
|
||||||
|
true));
|
||||||
|
clientTable.removeSelection();
|
||||||
|
return action;
|
||||||
|
}
|
||||||
|
|
||||||
private FullPageMonitoringGUIUpdate createProctoringActions(
|
private FullPageMonitoringGUIUpdate createProctoringActions(
|
||||||
final ProctoringServiceSettings proctoringSettings,
|
final ProctoringServiceSettings proctoringSettings,
|
||||||
final ProctoringGUIService proctoringGUIService,
|
final ProctoringGUIService proctoringGUIService,
|
||||||
|
|
Loading…
Reference in a new issue