1
0
Fork 0

Update cache on photo edit only when album name has changed

This commit is contained in:
rabuzarus 2016-12-26 02:41:00 +01:00
commit a6d7ad0755
2 changed files with 10 additions and 6 deletions

View file

@ -3,6 +3,7 @@
<form action="photos/{{$nickname}}/{{$resource_id}}" method="post" id="photo_edit_form" >
<input type="hidden" name="item_id" value="{{$item_id}}" />
<input type="hidden" name="origaname" value="{{$album.2}}" />
{{include file="field_input.tpl" field=$album}}
{{include file="field_input.tpl" field=$caption}}