diff options
author | Harshit Bansal <harshitbansal2015@gmail.com> | 2019-01-16 03:01:35 +0530 |
---|---|---|
committer | techknowlogick <hello@techknowlogick.com> | 2019-01-15 16:31:35 -0500 |
commit | 1ac8f6fb83b4fc3c05949f10494f325bbc65a6a7 (patch) | |
tree | be3b5428cbfd351cbd228511859cc44547a300e4 /templates/repo | |
parent | 270fa6d63b9a25021d9663bd6162f4933b7eb5ff (diff) | |
download | gitea-1ac8f6fb83b4fc3c05949f10494f325bbc65a6a7.tar.gz gitea-1ac8f6fb83b4fc3c05949f10494f325bbc65a6a7.zip |
Don't list an issue on its own dependency list UI. (#5658)
Fixes: #4684.
Diffstat (limited to 'templates/repo')
-rw-r--r-- | templates/repo/issue/view_content/sidebar.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index ee8ed0e1a1..8d5df5d748 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -321,7 +321,7 @@ <form method="POST" action="{{$.RepoLink}}/issues/{{.Issue.Index}}/dependency/add" id="addDependencyForm"> {{$.CsrfTokenHtml}} <div class="ui fluid action input"> - <div class="ui search selection dropdown new-dependency-drop-list" style="min-width: 13.9rem;border-radius: 4px 0 0 4px;border-right: 0;white-space: nowrap;"> + <div class="ui search selection dropdown" id="new-dependency-drop-list" data-issue-id="{{.Issue.ID}}" style="min-width: 13.9rem;border-radius: 4px 0 0 4px;border-right: 0;white-space: nowrap;"> <input name="newDependency" type="hidden"> <i class="dropdown icon"></i> <input type="text" class="search"> |