Commit ffe87c77 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 1183227: Comment tagging doesn't work if Test::Taint is not installed

r=gerv a=dkl
parent 684bee48
......@@ -20,6 +20,7 @@
[% user_cache = template_cache.users %]
[% markdown_enabled = feature_enabled('jsonrpc') AND user.settings.use_markdown.value == "on" %]
[% can_edit_comments = bug.check_can_change_field('longdesc', 0, 1) %]
[% can_tag_comments = feature_enabled('jsonrpc') AND user.can_tag_comments %]
<!-- This auto-sizes the comments and positions the collapse/expand links
to the right. -->
......@@ -93,7 +94,7 @@
<span class="bz_collapsed_actions">
[% END %]
[% IF can_edit_comments %]
[% IF user.can_tag_comments %]
[% IF can_tag_comments %]
[<a href="#"
onclick="YAHOO.bugzilla.commentTagging.toggle([% comment.id %], [% comment.count %]);return false">tag</a>]
[% END %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment