summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authormuhfaris <muhfaris@disroot.org>2018-01-15 13:03:30 +0700
committerLauris BH <lauris@nix.lv>2018-01-15 08:03:30 +0200
commitbec09378f96f45561a6da9ddec844b720957540c (patch)
tree7d04bccd8be0e0fafddcb57511cf5b7e6d593a1e /public
parentd29aa7677745671c1ed22fbd612dd3370f178b73 (diff)
downloadgitea-bec09378f96f45561a6da9ddec844b720957540c.tar.gz
gitea-bec09378f96f45561a6da9ddec844b720957540c.zip
Fix Delete repository message (#3260)
Diffstat (limited to 'public')
-rw-r--r--public/js/index.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/public/js/index.js b/public/js/index.js
index 160be5b684..9b67e59264 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -1683,7 +1683,10 @@ function showDeletePopup() {
filter += "#" + $this.attr("id")
}
- $('.delete.modal' + filter).modal({
+ var dialog = $('.delete.modal' + filter);
+ dialog.find('.repo-name').text($this.data('repo-name'));
+
+ dialog.modal({
closable: false,
onApprove: function() {
if ($this.data('type') == "form") {