diff options
author | Paul Martin <paul@paulsputer.com> | 2016-04-06 08:27:20 +0100 |
---|---|---|
committer | Paul Martin <paul@paulsputer.com> | 2016-04-06 19:31:41 +0100 |
commit | 5bb79fbb553a11e6582392f658233cf58a4ceb11 (patch) | |
tree | 72bbd5077466925cf03e70f9a53c39a6f299c8e4 /src/main/java/com/gitblit/wicket/WicketUtils.java | |
parent | 018ad3913231e1aa53a60a00db40d5fea7ceb279 (diff) | |
download | gitblit-5bb79fbb553a11e6582392f658233cf58a4ceb11.tar.gz gitblit-5bb79fbb553a11e6582392f658233cf58a4ceb11.zip |
Fix for #1042 - Filestore items now shown as icons
Diffstat (limited to 'src/main/java/com/gitblit/wicket/WicketUtils.java')
-rw-r--r-- | src/main/java/com/gitblit/wicket/WicketUtils.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/gitblit/wicket/WicketUtils.java b/src/main/java/com/gitblit/wicket/WicketUtils.java index 0d48e2be..d9ff34a2 100644 --- a/src/main/java/com/gitblit/wicket/WicketUtils.java +++ b/src/main/java/com/gitblit/wicket/WicketUtils.java @@ -73,8 +73,8 @@ public class WicketUtils { container.add(new SimpleAttributeModifier("style", background));
}
- public static void setHtmlTooltip(Component container, String value) {
- container.add(new SimpleAttributeModifier("title", value));
+ public static Component setHtmlTooltip(Component container, String value) {
+ return container.add(new SimpleAttributeModifier("title", value));
}
public static void setInputPlaceholder(Component container, String value) {
|