You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by sk...@apache.org on 2017/11/15 14:01:47 UTC
syncope git commit: [SYNCOPE-1230] Fix toggle reopening after single
task execution deletion
Repository: syncope
Updated Branches:
refs/heads/2_0_X 23acffb41 -> 7a437c0f6
[SYNCOPE-1230] Fix toggle reopening after single task execution deletion
Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/7a437c0f
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/7a437c0f
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/7a437c0f
Branch: refs/heads/2_0_X
Commit: 7a437c0f628820c62be6b65fa4f334ab25b97cb0
Parents: 23acffb
Author: skylark17 <ma...@tirasa.net>
Authored: Wed Nov 15 15:01:39 2017 +0100
Committer: skylark17 <ma...@tirasa.net>
Committed: Wed Nov 15 15:01:39 2017 +0100
----------------------------------------------------------------------
.../syncope/client/console/tasks/ExecutionsDirectoryPanel.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/syncope/blob/7a437c0f/client/console/src/main/java/org/apache/syncope/client/console/tasks/ExecutionsDirectoryPanel.java
----------------------------------------------------------------------
diff --git a/client/console/src/main/java/org/apache/syncope/client/console/tasks/ExecutionsDirectoryPanel.java b/client/console/src/main/java/org/apache/syncope/client/console/tasks/ExecutionsDirectoryPanel.java
index 3642529..8a200d0 100644
--- a/client/console/src/main/java/org/apache/syncope/client/console/tasks/ExecutionsDirectoryPanel.java
+++ b/client/console/src/main/java/org/apache/syncope/client/console/tasks/ExecutionsDirectoryPanel.java
@@ -129,15 +129,15 @@ public abstract class ExecutionsDirectoryPanel
@Override
public void onClick(final AjaxRequestTarget target, final ExecTO ignore) {
+ ExecutionsDirectoryPanel.this.getTogglePanel().close(target);
try {
restClient.deleteExecution(taskExecutionTO.getKey());
SyncopeConsoleSession.get().info(getString(Constants.OPERATION_SUCCEEDED));
+ target.add(container);
} catch (SyncopeClientException scce) {
SyncopeConsoleSession.get().error(scce.getMessage());
}
- target.add(ExecutionsDirectoryPanel.this);
((BasePage) pageRef.getPage()).getNotificationPanel().refresh(target);
- ExecutionsDirectoryPanel.this.getTogglePanel().close(target);
}
}, ActionLink.ActionType.DELETE, StandardEntitlement.TASK_DELETE, true);