diff options
author | muhfaris <muhfaris@disroot.org> | 2018-01-15 13:03:30 +0700 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2018-01-15 08:03:30 +0200 |
commit | bec09378f96f45561a6da9ddec844b720957540c (patch) | |
tree | 7d04bccd8be0e0fafddcb57511cf5b7e6d593a1e /public | |
parent | d29aa7677745671c1ed22fbd612dd3370f178b73 (diff) | |
download | gitea-bec09378f96f45561a6da9ddec844b720957540c.tar.gz gitea-bec09378f96f45561a6da9ddec844b720957540c.zip |
Fix Delete repository message (#3260)
Diffstat (limited to 'public')
-rw-r--r-- | public/js/index.js | 5 |
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") { |