Skip to content
Snippets Groups Projects
Commit bc0810e5 authored by cramakri's avatar cramakri
Browse files

MINOR: Make the password field in the CIFEX login confirmation dialog optional.

SVN: 14476
parent 06c872c0
No related branches found
No related tags found
No related merge requests found
...@@ -124,7 +124,7 @@ final class DataSetUploadConfirmationDialog extends ...@@ -124,7 +124,7 @@ final class DataSetUploadConfirmationDialog extends
passwordField.setPassword(true); passwordField.setPassword(true);
passwordField.setFieldLabel(viewContext passwordField.setFieldLabel(viewContext
.getMessage(Dict.CONFIRM_DATASET_UPLOAD_PASSWORD_FIELD)); .getMessage(Dict.CONFIRM_DATASET_UPLOAD_PASSWORD_FIELD));
FieldUtil.setMandatoryFlag(passwordField, true); FieldUtil.setMandatoryFlag(passwordField, false);
passwordField.addKeyListener(keyListener); passwordField.addKeyListener(keyListener);
passwordField.setAutoValidate(true); passwordField.setAutoValidate(true);
formPanel.add(passwordField); formPanel.add(passwordField);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment