aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Miller <justdave@mozilla.com>2014-02-27 09:39:37 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2014-02-27 09:39:37 +0100
commit684499b0d3c75cb498af82e6df4da84c10658e32 (patch)
tree7efc4226fc52bc3b51dc32e960f1a64994dca590 /template/en/default/bug/edit.html.tmpl
parentBug 466178 - Add an INTEGER custom field type (diff)
downloadbugzilla-684499b0d3c75cb498af82e6df4da84c10658e32.tar.gz
bugzilla-684499b0d3c75cb498af82e6df4da84c10658e32.tar.bz2
bugzilla-684499b0d3c75cb498af82e6df4da84c10658e32.zip
Bug 893595: The pink colour of private comment will turn to white after refreshing the page
r/a=justdave
Diffstat (limited to 'template/en/default/bug/edit.html.tmpl')
-rw-r--r--template/en/default/bug/edit.html.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index 0da60e6c8..3a2a81d8e 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -1115,6 +1115,11 @@
maxrows = 25
cols = constants.COMMENT_COLS
%]
+ [% IF user.is_insider %]
+ <script>
+ updateCommentTagControl(document.getElementById('newcommentprivacy'), 'comment');
+ </script>
+ [% END %]
[% Hook.process("after_comment_textarea", 'bug/edit.html.tmpl') %]
[% ELSE %]
You are not allowed to make an additional comment on this [% terms.bug %].