summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2017-02-18 23:55:31 +0100
committerDavid Lawrence <dkl@mozilla.com>2017-02-18 23:55:31 +0100
commit262449edeac2182aca7d4c5c68f3f8ee862ba10b (patch)
treeeb22380ac6adbd3a2a7c834604dbad5b7d9bd169 /extensions
parent730ca1270c21d9a0af01e304479ddc4e6b1a4fa6 (diff)
downloadbugzilla-262449edeac2182aca7d4c5c68f3f8ee862ba10b.tar.gz
bugzilla-262449edeac2182aca7d4c5c68f3f8ee862ba10b.tar.xz
Bug 1340840 - The 'Add Comment' button is visible but doesnt do anything when user is not logged in
Diffstat (limited to 'extensions')
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl
index f046cf904..c658f0642 100644
--- a/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl
@@ -7,7 +7,7 @@
#%]
<div id="comment-actions">
- [% IF user.settings.comment_box_position.value == 'after_comments' %]
+ [% IF user.id && user.settings.comment_box_position.value == 'after_comments' %]
<button type="button" id="add-comment-btn" class="minor">Add Comment &darr;</button>
[% ELSE %]
<button type="button" id="bottom-btn" class="minor">Bottom &darr;</button>