File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
perun-wui-registrar/src/main/java/cz/metacentrum/perun/wui/registrar/pages/steps Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments