diff rhodecode/templates/changeset/changeset_file_comment.html @ 2189:3052f90c568a beta

fixed main comments, prevent from sending inline comments if text is empty
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 14 Apr 2012 22:40:47 +0200
parents 56e96d4e9f6e
children 76947224bf27 66fa6c434ce4
line wrap: on
line diff
--- a/rhodecode/templates/changeset/changeset_file_comment.html	Sat Apr 14 22:15:45 2012 +0200
+++ b/rhodecode/templates/changeset/changeset_file_comment.html	Sat Apr 14 22:40:47 2012 +0200
@@ -87,7 +87,9 @@
     </div>
 
     %for co in c.comments:
-        ${comment_block(co)}
+        <div id="comment-tr-${co.comment_id}">
+          ${comment_block(co)}
+        </div>
     %endfor
     %if c.rhodecode_user.username != 'default':
     <div class="comment-form">