summaryrefslogtreecommitdiffstats
path: root/template/en/default/list
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/list
parent3776f86ebdfb6169a35c525ce6b8363eb0cabbe1 (diff)
downloadbugzilla-684499b0d3c75cb498af82e6df4da84c10658e32.tar.gz
bugzilla-684499b0d3c75cb498af82e6df4da84c10658e32.tar.xz
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/list')
-rw-r--r--template/en/default/list/edit-multiple.html.tmpl7
1 files changed, 6 insertions, 1 deletions
diff --git a/template/en/default/list/edit-multiple.html.tmpl b/template/en/default/list/edit-multiple.html.tmpl
index 9c6cb95cb..80204a613 100644
--- a/template/en/default/list/edit-multiple.html.tmpl
+++ b/template/en/default/list/edit-multiple.html.tmpl
@@ -289,7 +289,7 @@
[% IF user.is_insider %]
<input type="checkbox" name="comment_is_private" value="1"
id="newcommentprivacy"
- onClick="updateCommentTagControl(this, form)">
+ onClick="updateCommentTagControl(this, 'comment')">
<label for="newcommentprivacy">
Make comment private (visible only to members of the
<strong>[% Param('insidergroup') FILTER html %]</strong> group)
@@ -303,6 +303,11 @@
maxrows = 25
cols = constants.COMMENT_COLS
%]<br>
+[% IF user.is_insider %]
+ <script>
+ updateCommentTagControl(document.getElementById('newcommentprivacy'), 'comment');
+ </script>
+[% END %]
[% Hook.process('before_groups') %]