Переглянути джерело

Redirect to Summary page after editing a repository

tags/v1.5.0
James Moger 10 роки тому
джерело
коміт
7febf59256

+ 1
- 0
releases.moxie Переглянути файл

@@ -16,6 +16,7 @@ r22: {
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:

+ 5
- 1
src/main/java/com/gitblit/wicket/pages/EditRepositoryPage.java Переглянути файл

@@ -427,7 +427,11 @@ public class EditRepositoryPage extends RootSubPage {
return;
}
setRedirect(false);
setResponsePage(RepositoriesPage.class);
if (isCreate) {
setResponsePage(RepositoriesPage.class);
} else {
setResponsePage(SummaryPage.class, WicketUtils.newRepositoryParameter(repositoryModel.name));
}
}
};

Завантаження…
Відмінити
Зберегти