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)
|
||||
.withSelect(
|
||||
() -> this.selectionForInstruction(clientTable),
|
||||
action -> this.sebSendLockPopup.show(
|
||||
action,
|
||||
statesPredicate -> clientTable.getConnectionTokens(
|
||||
statesPredicate,
|
||||
true)),
|
||||
action -> this.showSEBLockActionPopup(action, clientTable),
|
||||
EMPTY_ACTIVE_SELECTION_TEXT_KEY)
|
||||
.noEventPropagation()
|
||||
.publishIf(isExamSupporter, false)
|
||||
|
@ -279,6 +275,19 @@ public class MonitoringRunningExam implements TemplateComposer {
|
|||
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(
|
||||
final ProctoringServiceSettings proctoringSettings,
|
||||
final ProctoringGUIService proctoringGUIService,
|
||||
|
|
Loading…
Reference in a new issue