add method post on upload form

This commit is contained in:
Manuel Raynaud
2014-05-06 14:06:43 +02:00
parent a0f3a913cb
commit 364ff7486d
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ Parameters:
*} *}
<div class="document-manager" > <div class="document-manager" >
<form action="{url path="/admin/document/type/$documentType/$parentId/save-ajax"}" class="dropzone" id="documents-dropzone" enctype="multipart/form-data"> <form action="{url path="/admin/document/type/$documentType/$parentId/save-ajax"}" method="post" class="dropzone" id="documents-dropzone" enctype="multipart/form-data">
<div class="fallback"> <div class="fallback">
<input name="file" type="file" /> <input name="file" type="file" />
<button type="submit" class="btn btn-info btn-upload"><span class="glyphicon glyphicon-send"></span> {intl l="Send files"}</button> <button type="submit" class="btn btn-info btn-upload"><span class="glyphicon glyphicon-send"></span> {intl l="Send files"}</button>

View File

@@ -8,7 +8,7 @@ Parameters:
*} *}
<div class="image-manager" > <div class="image-manager" >
<form action="{url path="/admin/image/type/$imageType/$parentId/save-ajax"}" class="dropzone" id="images-dropzone" enctype="multipart/form-data"> <form action="{url path="/admin/image/type/$imageType/$parentId/save-ajax"}" method="post" class="dropzone" id="images-dropzone" enctype="multipart/form-data">
<div class="fallback"> <div class="fallback">
<input name="file" type="file" /> <input name="file" type="file" />
<button type="submit" class="btn btn-info btn-upload"><span class="glyphicon glyphicon-send"></span> {intl l="Send files"}</button> <button type="submit" class="btn btn-info btn-upload"><span class="glyphicon glyphicon-send"></span> {intl l="Send files"}</button>