]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1340840 - The 'Add Comment' button is visible but doesnt do anything when user...
authorDavid Lawrence <dkl@mozilla.com>
Sat, 18 Feb 2017 22:55:31 +0000 (22:55 +0000)
committerDavid Lawrence <dkl@mozilla.com>
Sat, 18 Feb 2017 22:55:31 +0000 (22:55 +0000)
extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl

index f046cf904fbc3908aeab4febd950daf5d278237c..c658f064236eb1cf6066275fa5d9d928512dbbaa 100644 (file)
@@ -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>