Author: gjm Date: Wed Mar 13 10:47:58 2013 New Revision: 1455875 URL: http://svn.apache.org/r1455875 Log: move include of attachments outside of the main ticket form to prevent multiple actions being posted - fixes #462
Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html?rev=1455875&r1=1455874&r2=1455875&view=diff ============================================================================== --- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html (original) +++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html Wed Mar 13 10:47:58 2013 @@ -385,12 +385,6 @@ py:with="preview_mode = change_preview.fields ; colcount = 4 if bhdb else 6"/> </div> - - <!--! do not show attachments for old versions of this ticket or for new tickets --> - <div py:if="not version and version != 0 and ticket.exists"> - <xi:include href="bh_list_of_attachments.html" - py:with="alist = attachments; foldable = True"/> - </div> </py:if> </div> @@ -405,6 +399,12 @@ </bh:widget> </div> + <!--! do not show attachments for old versions of this ticket or for new tickets --> + <div class="$colspan" py:if="not version and version != 0 and ticket.exists"> + <xi:include href="bh_list_of_attachments.html" + py:with="alist = attachments; foldable = True"/> + </div> + <div class="$colspan"> <!--! add comment + modify ticket --> <form py:if="has_property_editor" method="post" id="propertyform"