Commit 45071f40 authored by Guy Pyrzak's avatar Guy Pyrzak

Bug 601218: Do not display (show) when the CC list is empty

r=LpSolit, a=LpSolit
parent af7acc5c
...@@ -810,9 +810,11 @@ ...@@ -810,9 +810,11 @@
including you including you
[% END %] [% END %]
[% END %] [% END %]
<span id="cc_edit_area_showhide_container" class="bz_default_hidden"> [% IF user.id || bug.cc.size %]
(<a href="#" id="cc_edit_area_showhide">[% IF user.id %]edit[% ELSE %]show[% END %]</a>) <span id="cc_edit_area_showhide_container" class="bz_default_hidden">
</span> (<a href="#" id="cc_edit_area_showhide">[% IF user.id %]edit[% ELSE %]show[% END %]</a>)
</span>
[% END %]
<div id="cc_edit_area"> <div id="cc_edit_area">
<br> <br>
[% IF user.id %] [% IF user.id %]
...@@ -843,13 +845,15 @@ ...@@ -843,13 +845,15 @@
[% END %] [% END %]
[% END %] [% END %]
</div> </div>
<script type="text/javascript"> [% IF user.id || bug.cc.size %]
hideEditableField( 'cc_edit_area_showhide_container', <script type="text/javascript">
'cc_edit_area', hideEditableField( 'cc_edit_area_showhide_container',
'cc_edit_area_showhide', 'cc_edit_area',
'', 'cc_edit_area_showhide',
''); '',
</script> '');
</script>
[% END %]
</td> </td>
</tr> </tr>
[% END %] [% 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