summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-11-15 01:58:32 +0800
committerLauris BH <lauris@nix.lv>2019-11-14 19:58:32 +0200
commit9bd879bef85697e96f05371fbfef82273fc7e465 (patch)
tree13851186b768d8addec78b3455422034454ccec3 /templates
parent856a9f81812083a0672a1b9f9b04304e3eaab0e8 (diff)
downloadgitea-9bd879bef85697e96f05371fbfef82273fc7e465.tar.gz
gitea-9bd879bef85697e96f05371fbfef82273fc7e465.zip
fix bug when pack js (#8992)
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/issue/view_content/sidebar.tmpl2
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 5a812d4fbf..7f6ee2c437 100644
--- a/templates/repo/issue/view_content/sidebar.tmpl
+++ b/templates/repo/issue/view_content/sidebar.tmpl
@@ -226,7 +226,7 @@
{{if and .IsIssueWriter (not .Repository.IsArchived)}}
<br/>
<a style="cursor:pointer;" onclick="window.toggleDeadlineForm();"><i class="edit icon"></i>{{$.i18n.Tr "repo.issues.due_date_form_edit"}}</a> -
- <a style="cursor:pointer;" onclick="updateDeadline('');"><i class="remove icon"></i>{{$.i18n.Tr "repo.issues.due_date_form_remove"}}</a>
+ <a style="cursor:pointer;" onclick="window.updateDeadline('');"><i class="remove icon"></i>{{$.i18n.Tr "repo.issues.due_date_form_remove"}}</a>
{{end}}
</p>
{{else}}