Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed Jun 20, 2016
2 parents 38fe6c0 + d0b542b commit 2ac62ff
Showing 1 changed file with 5 additions and 8 deletions.
Expand Up @@ -203,18 +203,15 @@ private void onSavePerformed(AjaxRequestTarget target) {
if (backgroundTaskOperationResult != null
&& StringUtils.isNotEmpty(backgroundTaskOperationResult.getBackgroundTaskOid())){
result.setMessage(createStringResource("operation.com.evolveum.midpoint.web.page.self.PageRequestRole.taskCreated").getString());
showResult(result);
setResponsePage(PageRequestRole.class);
return;
}
showResult(result);
if (!WebComponentUtil.isSuccessOrHandledError(result)) {
showResult(result);
target.add(getFeedbackPanel());
} else {
showResult(result);
if (WebComponentUtil.isAuthorized(AuthorizationConstants.AUTZ_UI_DASHBOARD_URL,
AuthorizationConstants.AUTZ_UI_HOME_ALL_URL)) {
setResponsePage(PageDashboard.class);
} else {
setResponsePage(PageSelfDashboard.class);
}
setResponsePage(PageRequestRole.class);
}
}

Expand Down

0 comments on commit 2ac62ff

Please sign in to comment.