Skip to content

Commit

Permalink
Fixed form Action in WS attachment viewlet
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonski committed Dec 31, 2017
1 parent c863b24 commit 1857a05
Showing 1 changed file with 11 additions and 1 deletion.
Expand Up @@ -21,7 +21,17 @@

<!-- Add Attachments -->
<div class="ws_attachments_add">
<form action="." method="post" name="add_attachment" enctype="multipart/form-data">

<!-- Add Form -->
<form action="attachments_view"
name="attachments_add_form"
enctype="multipart/form-data"
tal:attributes="action string:${context/absolute_url}/@@attachments_view/add_to_ws"
method="POST">

<input type="hidden" name="submitted" value="1"/>
<span tal:replace="structure context/@@authenticator/authenticator"/>

<table class="listing">
<tr>
<th i18n:translate="">Add new Attachment</th>
Expand Down

0 comments on commit 1857a05

Please sign in to comment.