Skip to content

Commit

Permalink
MID-4916 redirect for in_progress results
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Sep 27, 2018
1 parent 7fa03a1 commit 7166cf8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -153,7 +153,7 @@ public void finishProcessing(AjaxRequestTarget target, OperationResult result, b

boolean canExitPage;
if (returningFromAsync) {
canExitPage = getProgressPanel().isAllSuccess(); // if there's at least a warning in the progress table, we would like to keep the table open
canExitPage = getProgressPanel().isAllSuccess() || result.isInProgress(); // if there's at least a warning in the progress table, we would like to keep the table open
} else {
canExitPage = !canContinueEditing; // no point in staying on page if we cannot continue editing (in synchronous case i.e. no progress table present)
}
Expand Down

0 comments on commit 7166cf8

Please sign in to comment.