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; ";