Skip to content

Commit

Permalink
fix photo submission/deletions
Browse files Browse the repository at this point in the history
fixes form action url so photo is applied to correct node id
  • Loading branch information
jammin84 committed Jul 28, 2015
1 parent 2671ec0 commit d44c82e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down Expand Up @@ -64,4 +64,4 @@
<td><button class="btn btn-primary" type="submit">{$lang.update}</button></td>
</tr>
</table>
</form>
</form>

2 comments on commit d44c82e

@spinza
Copy link

@spinza spinza commented on d44c82e Dec 12, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jammin84 is there other changes you've made that are not here as an open pr?

@jammin84
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only one which hasn't been put into PR yet, is in the below issue.

wind-project#70 (comment)

I haven't had time to merge with existing code to make sure it works correctly for both Hemispheres.

Please sign in to comment.