diff options
author | Norwin <noerw@users.noreply.github.com> | 2021-01-15 04:55:51 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-15 06:55:51 +0200 |
commit | a21adf92ec04ed6b957da9f58d49afbb93d584e9 (patch) | |
tree | 635c5fb9ed0ecccdabef96d5200bc6c3149f1f26 /templates/repo | |
parent | 6eee9f0f4e56e620b2eacfc9c2b59c6448308290 (diff) | |
download | gitea-a21adf92ec04ed6b957da9f58d49afbb93d584e9.tar.gz gitea-a21adf92ec04ed6b957da9f58d49afbb93d584e9.zip |
restrict query selector to edit form (#14307)
Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'templates/repo')
-rw-r--r-- | templates/repo/issue/labels/edit_delete_label.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/labels/edit_delete_label.tmpl b/templates/repo/issue/labels/edit_delete_label.tmpl index 54ef584224..ed7e585e4e 100644 --- a/templates/repo/issue/labels/edit_delete_label.tmpl +++ b/templates/repo/issue/labels/edit_delete_label.tmpl @@ -23,7 +23,7 @@ {{.i18n.Tr "repo.issues.label_modify"}} </div> <div class="content"> - <form class="ui edit-label form" action="{{$.Link}}/edit" method="post"> + <form class="ui edit-label form ignore-dirty" action="{{$.Link}}/edit" method="post"> {{.CsrfTokenHtml}} <input id="label-modal-id" name="id" type="hidden"> <div class="ui grid"> |