]> source.dussan.org Git - gitblit.git/commit
Replace key feedback with label instead of FeedbackMessage
authorFlorian Zschocke <f.zschocke+git@gmail.com>
Tue, 1 Nov 2022 18:31:45 +0000 (19:31 +0100)
committerFlorian Zschocke <f.zschocke+git@gmail.com>
Tue, 1 Nov 2022 18:31:45 +0000 (19:31 +0100)
commit082c6a69b64f79b7c81a78f4b7bbf7a31d11cb74
tree2d5db6d982848404f18f0e6acb1b8696749fba39
parent0e344ae98ebccc734d7142682bee0d488ea65c9d
Replace key feedback with label instead of FeedbackMessage

Since it is a pest to get rid of a Wicket FeedbackMessage in an AJAX target,
change the code to use an extra label that can provide feedback if the
key could not be parsed or was empty.
src/main/java/com/gitblit/wicket/pages/BasePage.java
src/main/java/com/gitblit/wicket/panels/SshKeysPanel.html
src/main/java/com/gitblit/wicket/panels/SshKeysPanel.java