James Moger
2013-09-30 699e71e76b15081baf746c6ce9c9144f7e5f1ff9
src/main/java/com/gitblit/wicket/panels/BasePanel.java
@@ -74,6 +74,7 @@
         super(event, true, new Model<String>(msg));
      }
      @Override
      protected String newValue(final String currentValue, final String replacementValue) {
         String prefix = "var conf = confirm('" + replacementValue + "'); "
               + "if (!conf) return false; ";
@@ -96,6 +97,7 @@
         initialValue = value;
      }
      @Override
      protected String newValue(final String currentValue, final String message) {
         String result = "var userText = prompt('" + message + "','"
               + (initialValue == null ? "" : initialValue) + "'); " + "return userText; ";