summaryrefslogtreecommitdiffstats
path: root/extensions/Splinter
diff options
context:
space:
mode:
authorReed Loden <reed@reedloden.com>2012-02-23 06:07:09 +0100
committerReed Loden <reed@reedloden.com>2012-02-23 06:07:09 +0100
commite604307372ec89278f0bb05de378a650c9fd84fd (patch)
tree45a28a804e042f6841a4ae85ca6af1d8f7d298f5 /extensions/Splinter
parent7dc4ac9cba68f948d704a5f7fb9953775ceb50f9 (diff)
downloadbugzilla-e604307372ec89278f0bb05de378a650c9fd84fd.tar.gz
bugzilla-e604307372ec89278f0bb05de378a650c9fd84fd.tar.xz
Bug 729436 - Add missing validation on comments to Splinter
[r=glob]
Diffstat (limited to 'extensions/Splinter')
-rw-r--r--extensions/Splinter/template/en/default/pages/splinter.html.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/Splinter/template/en/default/pages/splinter.html.tmpl b/extensions/Splinter/template/en/default/pages/splinter.html.tmpl
index cb4ca58cb..953bc9ddb 100644
--- a/extensions/Splinter/template/en/default/pages/splinter.html.tmpl
+++ b/extensions/Splinter/template/en/default/pages/splinter.html.tmpl
@@ -69,6 +69,7 @@
theBug.reporterName = Splinter.Utils.strip('[% bug.reporter.name FILTER js %]');
[% FOREACH comment = bug.comments %]
+ [% NEXT IF comment.is_private && !user.is_insider %]
var comment = new Splinter.Bug.Comment();
comment.whoName = Splinter.Utils.strip('[% comment.author.name FILTER js %]');
comment.whoEmail = Splinter.Utils.strip('[% comment.author.email FILTER js %]');