forked from forgejo/forgejo
Fix Delete repository message (#3260)
This commit is contained in:
parent
d29aa76777
commit
bec09378f9
2 changed files with 6 additions and 3 deletions
|
@ -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") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue