You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by fm...@apache.org on 2017/03/13 15:50:25 UTC

[1/2] syncope git commit: [SYNCOPE-1044] fixes by remving a double send event

Repository: syncope
Updated Branches:
  refs/heads/2_0_X cda424d80 -> 032d70e5d
  refs/heads/master 672830586 -> a0ffad75e


[SYNCOPE-1044] fixes by remving a double send event


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/032d70e5
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/032d70e5
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/032d70e5

Branch: refs/heads/2_0_X
Commit: 032d70e5d76718979f6f0cf962e3e80b2534345d
Parents: cda424d
Author: fmartelli <fa...@gmail.com>
Authored: Mon Mar 13 16:49:01 2017 +0100
Committer: fmartelli <fa...@gmail.com>
Committed: Mon Mar 13 16:49:01 2017 +0100

----------------------------------------------------------------------
 .../client/console/wizards/resources/ResourceProvisionPanel.java | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/032d70e5/client/console/src/main/java/org/apache/syncope/client/console/wizards/resources/ResourceProvisionPanel.java
----------------------------------------------------------------------
diff --git a/client/console/src/main/java/org/apache/syncope/client/console/wizards/resources/ResourceProvisionPanel.java b/client/console/src/main/java/org/apache/syncope/client/console/wizards/resources/ResourceProvisionPanel.java
index 9592b2f..207a2c7 100644
--- a/client/console/src/main/java/org/apache/syncope/client/console/wizards/resources/ResourceProvisionPanel.java
+++ b/client/console/src/main/java/org/apache/syncope/client/console/wizards/resources/ResourceProvisionPanel.java
@@ -325,7 +325,7 @@ public class ResourceProvisionPanel extends AbstractModalPanel<Serializable> {
                         if (connObjectKeyCount != 1) {
                             throw new RuntimeException(provision.getAnyType() + ": "
                                     + new StringResourceModel("connObjectKeyValidation", ResourceProvisionPanel.this).
-                                            getString());
+                                    getString());
                         }
                     }
                 }
@@ -348,8 +348,6 @@ public class ResourceProvisionPanel extends AbstractModalPanel<Serializable> {
             aboutRealmProvison.setVisible(false);
             final AjaxRequestTarget target = ((AjaxWizard.NewItemEvent) event.getPayload()).getTarget();
             target.add(aboutRealmProvison);
-            // change modal foter visibility
-            send(ResourceProvisionPanel.this, Broadcast.BUBBLE, new BaseModal.ChangeFooterVisibilityEvent(target));
         }
 
         super.onEvent(event);


[2/2] syncope git commit: [SYNCOPE-1044] fixes by remving a double send event

Posted by fm...@apache.org.
[SYNCOPE-1044] fixes by remving a double send event


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/a0ffad75
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/a0ffad75
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/a0ffad75

Branch: refs/heads/master
Commit: a0ffad75eeb166590f05f2d80d043c56b620023c
Parents: 6728305
Author: fmartelli <fa...@gmail.com>
Authored: Mon Mar 13 16:49:01 2017 +0100
Committer: fmartelli <fa...@gmail.com>
Committed: Mon Mar 13 16:49:24 2017 +0100

----------------------------------------------------------------------
 .../client/console/wizards/resources/ResourceProvisionPanel.java | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/a0ffad75/client/console/src/main/java/org/apache/syncope/client/console/wizards/resources/ResourceProvisionPanel.java
----------------------------------------------------------------------
diff --git a/client/console/src/main/java/org/apache/syncope/client/console/wizards/resources/ResourceProvisionPanel.java b/client/console/src/main/java/org/apache/syncope/client/console/wizards/resources/ResourceProvisionPanel.java
index 9592b2f..207a2c7 100644
--- a/client/console/src/main/java/org/apache/syncope/client/console/wizards/resources/ResourceProvisionPanel.java
+++ b/client/console/src/main/java/org/apache/syncope/client/console/wizards/resources/ResourceProvisionPanel.java
@@ -325,7 +325,7 @@ public class ResourceProvisionPanel extends AbstractModalPanel<Serializable> {
                         if (connObjectKeyCount != 1) {
                             throw new RuntimeException(provision.getAnyType() + ": "
                                     + new StringResourceModel("connObjectKeyValidation", ResourceProvisionPanel.this).
-                                            getString());
+                                    getString());
                         }
                     }
                 }
@@ -348,8 +348,6 @@ public class ResourceProvisionPanel extends AbstractModalPanel<Serializable> {
             aboutRealmProvison.setVisible(false);
             final AjaxRequestTarget target = ((AjaxWizard.NewItemEvent) event.getPayload()).getTarget();
             target.add(aboutRealmProvison);
-            // change modal foter visibility
-            send(ResourceProvisionPanel.this, Broadcast.BUBBLE, new BaseModal.ChangeFooterVisibilityEvent(target));
         }
 
         super.onEvent(event);