You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2020/03/24 11:21:32 UTC

[isis] branch master updated: ISIS-2093: just a comment

This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/master by this push:
     new b73ae07  ISIS-2093: just a comment
b73ae07 is described below

commit b73ae07ecaac4418b7ecf8f7717cc1938ae69828
Author: Andi Huber <ah...@apache.org>
AuthorDate: Tue Mar 24 12:21:25 2020 +0100

    ISIS-2093: just a comment
---
 .../components/actionmenu/entityactions/AdditionalLinksPanel.java   | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/viewers/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/actionmenu/entityactions/AdditionalLinksPanel.java b/viewers/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/actionmenu/entityactions/AdditionalLinksPanel.java
index ffad2fd..ead5f9e 100644
--- a/viewers/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/actionmenu/entityactions/AdditionalLinksPanel.java
+++ b/viewers/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/actionmenu/entityactions/AdditionalLinksPanel.java
@@ -134,7 +134,7 @@ public class AdditionalLinksPanel extends PanelAbstract<ListOfLinksModel> {
                     }
                 } 
                 : Model.of(linkAndLabel.getDescriptionIfAny());
-
+                
                 Tooltips.addTooltip(link, tooltipModel);
 
                 val viewTitleLabel = new Label(ID_ADDITIONAL_LINK_TITLE, linkAndLabel.getLabel());
@@ -154,7 +154,9 @@ public class AdditionalLinksPanel extends PanelAbstract<ListOfLinksModel> {
                         if (!hasDisabledReason) {
                             addConfirmationDialog(link);
                         }
-                    } 
+                    }
+                    // ensure links receive the danger style
+                    // don't care if expressed twice
                     Confirmations.addConfirmationStyle(link);
                 }