summaryrefslogtreecommitdiffstats
path: root/public/js
diff options
context:
space:
mode:
authorRichard Mahn <richmahn@users.noreply.github.com>2019-07-17 14:40:28 -0400
committertechknowlogick <techknowlogick@gitea.io>2019-07-17 14:40:28 -0400
commit5d3e3518645d707d99c6ea244a195b7240782e74 (patch)
treea5480b9ae7691917cce11be47218f253d78bc603 /public/js
parent361607d83109014a8dfd40e97c6f95a0e869dca3 (diff)
downloadgitea-5d3e3518645d707d99c6ea244a195b7240782e74.tar.gz
gitea-5d3e3518645d707d99c6ea244a195b7240782e74.zip
Fixes #7474 - Handles all redirects for Web UI File CRUD (#7478)
* 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
Diffstat (limited to 'public/js')
-rw-r--r--public/js/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/public/js/index.js b/public/js/index.js
index e6719c57f0..d26764fcc7 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -1306,6 +1306,7 @@ function initEditor() {
$('.quick-pull-branch-name').hide();
$('.quick-pull-branch-name input').prop('required',false);
}
+ $('#commit-button').text($(this).attr('button_text'));
});
const $editFilename = $("#file-name");