James Moger
2012-07-11 a31cf95ac0787eb559cb78f48c52bc6b79e970d8
src/com/gitblit/client/EditRepositoryDialog.java
@@ -389,6 +389,9 @@
         error("Relative folder references (../) are prohibited.");
         return false;
      }
      if (rname.endsWith("/")) {
         rname = rname.substring(0, rname.length() - 1);
      }
      // confirm valid characters in repository name
      Character c = StringUtils.findInvalidCharacter(rname);
@@ -487,6 +490,10 @@
      JOptionPane.showMessageDialog(EditRepositoryDialog.this, message,
            Translation.get("gb.error"), JOptionPane.ERROR_MESSAGE);
   }
   public void setAccessRestriction(AccessRestrictionType restriction) {
      this.accessRestriction.setSelectedItem(restriction);
   }
   public void setUsers(String owner, List<String> all, List<String> selected) {
      ownerField.setModel(new DefaultComboBoxModel(all.toArray()));