Skip to content

Commit a5b95d6

Browse files
committed
Merge branch 'master' into production
2 parents 689ebff + a4f96e7 commit a5b95d6

File tree

1 file changed

+12
-2
lines changed
  • perun-wui-registrar/src/main/java/cz/metacentrum/perun/wui/registrar/pages/steps

1 file changed

+12
-2
lines changed

perun-wui-registrar/src/main/java/cz/metacentrum/perun/wui/registrar/pages/steps/SummaryStep.java

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -861,18 +861,28 @@ public void onClick(ClickEvent event) {
861861
modal.setClosable(false);
862862
modal.setWidth("750px");
863863

864-
865864
Button button = new Button(translation.understand());
866-
button.setType(ButtonType.PRIMARY);
865+
button.setType(ButtonType.DEFAULT);
867866
button.addClickHandler(new ClickHandler() {
868867
@Override
869868
public void onClick(ClickEvent event) {
870869
modal.hide();
871870
}
872871
});
873872

873+
Button buttonContAnyway = new Button(translation.continueAnyway());
874+
buttonContAnyway.setType(ButtonType.PRIMARY);
875+
buttonContAnyway.addClickHandler(new ClickHandler() {
876+
@Override
877+
public void onClick(ClickEvent event) {
878+
modal.hide();
879+
redirectAfterTimeout(redirectTo);
880+
}
881+
});
882+
874883
ModalFooter footer = new ModalFooter();
875884
footer.add(button);
885+
footer.add(buttonContAnyway);
876886

877887
ModalBody body = new ModalBody();
878888
modal.add(body);

0 commit comments

Comments
 (0)