fix bug when a read perm user to edit his issue (#5516)

release/v1.7
Lunny Xiao 5 years ago committed by techknowlogick
parent af6bce3ad5
commit f0374ad1ad

@ -51,8 +51,6 @@
{{end}} {{end}}
{{if .RequireTribute}} {{if .RequireTribute}}
<script src="{{AppSubUrl}}/vendor/plugins/tribute/tribute.min.js"></script> <script src="{{AppSubUrl}}/vendor/plugins/tribute/tribute.min.js"></script>
{{if .Assignees}}
<script> <script>
var issuesTribute = new Tribute({ var issuesTribute = new Tribute({
values: [ values: [
@ -73,7 +71,6 @@
}) })
issuesTribute.attach(document.getElementById('content')) issuesTribute.attach(document.getElementById('content'))
</script> </script>
{{end}}
<script> <script>
var emojiTribute = new Tribute({ var emojiTribute = new Tribute({
collection: [{ collection: [{

Loading…
Cancel
Save