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

fguigues
21.29.2009 11e496ca3c34d9e2d68394472f0669fd8339ee3e
opends/src/guitools/org/opends/guitools/controlpanel/ui/SimplifiedViewEntryPanel.java
@@ -1533,9 +1533,12 @@
        AttributeType attr = schema.getAttributeType(attrName.toLowerCase());
        if (attr != null)
        {
          mustAddBrowseButton =
            attr.getSyntax().getSyntaxName().equalsIgnoreCase(
          // There is no name for a regex syntax.
          String syntaxName = attr.getSyntax().getSyntaxName();
          if (syntaxName!=null) {
              mustAddBrowseButton=syntaxName.equalsIgnoreCase(
                SchemaConstants.SYNTAX_DN_NAME);
          }
        }
      }
    }