Permalink
Browse files

fix photo submission/deletions

fixes form action url so photo is applied to correct node id
  • Loading branch information...
1 parent 2671ec0 commit d44c82eb513bf79074cb7b30f2bc12f36ad238ae @jammin84 jammin84 committed Jul 28, 2015
Showing with 2 additions and 2 deletions.
  1. +2 −2 templates/basic/includes/pages/node_editor/node_editor_table_photosview.tpl
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*}
-<form name="{$extra_data.FORM_NAME}" method="post" action="?" enctype="multipart/form-data">
+<form name="{$extra_data.FORM_NAME}" method="post" action="{$action_url}" enctype="multipart/form-data">
<input type="hidden" name="query_string" value="{$hidden_qs}" />
<input type="hidden" name="form_name" value="{$extra_data.FORM_NAME}" />
<table width="100%" border="0" cellspacing="0" cellpadding="2">
@@ -64,4 +64,4 @@
<td><button class="btn btn-primary" type="submit">{$lang.update}</button></td>
</tr>
</table>
-</form>
+</form>

0 comments on commit d44c82e

Please sign in to comment.