]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 302694: Show multiple bugs emits errors about addReplyLink missing.
authorwurblzap%gmail.com <>
Mon, 12 Dec 2005 15:34:12 +0000 (15:34 +0000)
committerwurblzap%gmail.com <>
Mon, 12 Dec 2005 15:34:12 +0000 (15:34 +0000)
Patch by Marc Schumann <wurblzap@gmail.com>,
r=LpSolit, a=justdave

template/en/default/bug/comments.html.tmpl

index cf279d05d63874a8392801bfdbe0463811ce8276..f5f225246162df31beac2591d565b82d5ddf2050 100644 (file)
         <table>
           <tr>
             <td align="left">
-              <b><a name="c0" href="#c0">Description</a>:</b>&nbsp;&nbsp;<script 
-                type="text/javascript"><!-- 
-                  addReplyLink(0);
-                //--></script>
+              <b><a name="c0" href="#c0">Description</a>:</b>&nbsp;&nbsp;
+                [% IF mode == "edit" %]
+                  [%%]<script type="text/javascript"><!-- 
+                    addReplyLink(0);
+                  //--></script>
+                [% END %]
             </td>
             <td align="left" width="30%">
               <b>Opened:</b> [% bug.creation_ts FILTER time %]