Skip to content

Commit

Permalink
tooltip fix in popup
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Aug 16, 2021
1 parent e8de5d7 commit 9405b9b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ private void initLayout() {
}));
add(label);

add(AttributeAppender.append("title", new ReadOnlyModel<>(() -> {
compositedIconPanel.add(AttributeAppender.append("title", new ReadOnlyModel<>(() -> {
DisplayType displayType = getModelObject().getAdditionalButtonDisplayType();
return WebComponentUtil.getTranslatedPolyString(displayType.getTooltip());
})));
add(new TooltipBehavior());
compositedIconPanel.add(new TooltipBehavior());

add(new AjaxEventBehavior("click"){
compositedIconPanel.add(new AjaxEventBehavior("click"){

@Override
protected void onEvent(AjaxRequestTarget target) {
Expand Down

0 comments on commit 9405b9b

Please sign in to comment.