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

ilgrosso pushed a commit to branch 2_1_X
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/2_1_X by this push:
     new 37cd4a6  [SYNCOPE-1531] Do not show CSV import / export buttons in 
modal windows
37cd4a6 is described below

commit 37cd4a698e026a97197d64398a2bf8e4bb0575c3
Author: Francesco Chicchiriccò <[email protected]>
AuthorDate: Wed Apr 15 11:31:40 2020 +0200

    [SYNCOPE-1531] Do not show CSV import / export buttons in modal windows
---
 .../org/apache/syncope/client/console/panels/AnyDirectoryPanel.java     | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/client/console/src/main/java/org/apache/syncope/client/console/panels/AnyDirectoryPanel.java
 
b/client/console/src/main/java/org/apache/syncope/client/console/panels/AnyDirectoryPanel.java
index 429629e..97473a5 100644
--- 
a/client/console/src/main/java/org/apache/syncope/client/console/panels/AnyDirectoryPanel.java
+++ 
b/client/console/src/main/java/org/apache/syncope/client/console/panels/AnyDirectoryPanel.java
@@ -234,6 +234,7 @@ public abstract class AnyDirectoryPanel<A extends AnyTO, E 
extends AbstractAnyRe
                 modal.show(true);
             }
         };
+        
csvPushLink.setOutputMarkupPlaceholderTag(true).setVisible(wizardInModal).setEnabled(wizardInModal);
         MetaDataRoleAuthorizationStrategy.authorize(csvPushLink, RENDER,
                 String.format("%s,%s", 
StandardEntitlement.IMPLEMENTATION_LIST, StandardEntitlement.TASK_EXECUTE));
         
addInnerObject(csvPushLink.setOutputMarkupId(true).setOutputMarkupPlaceholderTag(true));
@@ -253,6 +254,7 @@ public abstract class AnyDirectoryPanel<A extends AnyTO, E 
extends AbstractAnyRe
                 modal.show(true);
             }
         };
+        
csvPullLink.setOutputMarkupPlaceholderTag(true).setVisible(wizardInModal).setEnabled(wizardInModal);
         MetaDataRoleAuthorizationStrategy.authorize(csvPullLink, RENDER,
                 String.format("%s,%s", 
StandardEntitlement.IMPLEMENTATION_LIST, StandardEntitlement.TASK_EXECUTE));
         
addInnerObject(csvPullLink.setOutputMarkupId(true).setOutputMarkupPlaceholderTag(true));

Reply via email to