1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-03 16:18:36 +00:00

Fixes #7474 - Handles all redirects for Web UI File CRUD (#7478) (#7507)

* Fixes #7474 - Handles all redirects for Web UI File CRUD

* Fixes lint errors

* Typo fix

* Adds unit tests for a few helper functions

* Fixes per review

* Fix for new branch creation and to unit test

* Fixes the template used for errors on delete
This commit is contained in:
Richard Mahn
2019-07-17 21:11:55 -04:00
committed by Lunny Xiao
parent a29e667eff
commit 91e24a3a10
5 changed files with 125 additions and 19 deletions

View File

@@ -1275,6 +1275,7 @@ function initEditor() {
$('.quick-pull-branch-name').hide();
$('.quick-pull-branch-name input').prop('required',false);
}
$('#commit-button').text($(this).attr('button_text'));
});
var $editFilename = $("#file-name");