mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
17.28.2008 4e4ffadc8543dc24f07e16bfce2978b31e2a4dcf
Fix for issue 3596 (Control Panel : data fields should be reset when opening again New Base DN window )

Only the base DN field is reset with the fix. In my opinion there are chances that the other fields can be reused. All the fields that are not unique to the object that will be created must be kept according to the Sun UI guidelines.
1 files modified
2 ■■■■■ changed files
opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ui/NewBaseDNPanel.java 2 ●●●●● patch | view | raw | blame | history
opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ui/NewBaseDNPanel.java
@@ -602,6 +602,8 @@
            ERR_CTRL_PANEL_CREATING_BASE_DN_ERROR_DETAILS,
            progressDialog);
        progressDialog.setVisible(true);
        baseDN.setText("");
        baseDN.grabFocus();
        Utilities.getParentDialog(this).setVisible(false);
      }
    }