James Moger
2014-04-07 7febf59256ffd5ab091b4d1d687796e6abb7edf4
Redirect to Summary page after editing a repository
2 files modified
7 ■■■■ changed files
releases.moxie 1 ●●●● patch | view | raw | blame | history
src/main/java/com/gitblit/wicket/pages/EditRepositoryPage.java 6 ●●●● patch | view | raw | blame | history
releases.moxie
@@ -16,6 +16,7 @@
    changes:
    - Specify the --dailyLogFile option for the Ubuntu and CentOS service scripts (issue-348)
    - The ticket close-on-push commit message regular expression is now configurable by a setting (issue-404)
    - Redirect to summary page on edit repository (issue-405)
    - Option to allow LDAP users to directly authenticate without performing LDAP searches (pr-162)
    - Replace JCommander with args4j to be consistent with other tools (ticket-28)
    additions:
src/main/java/com/gitblit/wicket/pages/EditRepositoryPage.java
@@ -427,7 +427,11 @@
                    return;
                }
                setRedirect(false);
                setResponsePage(RepositoriesPage.class);
                if (isCreate) {
                    setResponsePage(RepositoriesPage.class);
                } else {
                    setResponsePage(SummaryPage.class, WicketUtils.newRepositoryParameter(repositoryModel.name));
                }
            }
        };