aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-12-03 17:38:39 -0800
committerzotlabs <mike@macgirvin.com>2017-12-03 17:38:39 -0800
commit7ed80bf44320a9fd2baf9cb949399589c7d88e33 (patch)
tree7e75da0988a2dc41b174f1ac5bde5b3c6c658079
parent1c32c5fd2ad2185ce2ea53f94edac1de1c178f7b (diff)
downloadvolse-hubzilla-7ed80bf44320a9fd2baf9cb949399589c7d88e33.tar.gz
volse-hubzilla-7ed80bf44320a9fd2baf9cb949399589c7d88e33.tar.bz2
volse-hubzilla-7ed80bf44320a9fd2baf9cb949399589c7d88e33.zip
js warning - getelementbyid (id doesn't exist)
-rwxr-xr-xview/tpl/photo_album.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/photo_album.tpl b/view/tpl/photo_album.tpl
index 58b843bf0..678e790ac 100755
--- a/view/tpl/photo_album.tpl
+++ b/view/tpl/photo_album.tpl
@@ -9,7 +9,7 @@
<i class="fa fa-pencil btn btn-outline-secondary btn-sm" title="{{$album_edit.0}}" onclick="openClose('photo-album-edit-wrapper'); closeMenu('photo-upload-form');"></i>
{{/if}}
{{if $can_post}}
- <button class="btn btn-sm btn-success btn-sm" title="{{$usage}}" onclick="openClose('photo-upload-form'); closeMenu('photo-album-edit-wrapper');"><i class="fa fa-arrow-circle-o-up"></i>&nbsp;{{$upload.0}}</button>
+ <button class="btn btn-sm btn-success btn-sm" title="{{$usage}}" onclick="openClose('photo-upload-form'); {{if $album_edit.1}}closeMenu('photo-album-edit-wrapper');{{/if}}"><i class="fa fa-arrow-circle-o-up"></i>&nbsp;{{$upload.0}}</button>
{{/if}}
</div>
</div>