Fix the issue that unnecessary discard changes popup appears when user

operates against pull request
This commit is contained in:
robin shine 2016-11-14 20:18:18 +08:00
parent 7cd2f065a2
commit ea20fa847d

View File

@ -684,7 +684,7 @@ public abstract class RequestDetailPage extends DepotPage {
target.appendJavaScript("$(window).resize();");
} else {
operation.operate(request, noteInput.getModelObject());
target.appendJavaScript("location.reload();");
setResponsePage(RequestOverviewPage.class, RequestOverviewPage.paramsOf(getPullRequest()));
}
}