aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-11-01 20:30:13 +0100
committermarijus <mario@mariovavti.com>2014-11-01 20:30:13 +0100
commit30281b161c6e3089a89c5035498bb72a72e66e4a (patch)
treec8b1a8643f8d03f19e520f7771271de36669ee60
parent50c16c394fe2d966c62d30930600212a4e33303e (diff)
downloadvolse-hubzilla-30281b161c6e3089a89c5035498bb72a72e66e4a.tar.gz
volse-hubzilla-30281b161c6e3089a89c5035498bb72a72e66e4a.tar.bz2
volse-hubzilla-30281b161c6e3089a89c5035498bb72a72e66e4a.zip
close the eventual open tool if the other opens
-rwxr-xr-xview/tpl/photo_album.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/photo_album.tpl b/view/tpl/photo_album.tpl
index 2c0b8e5b9..7b1566a15 100755
--- a/view/tpl/photo_album.tpl
+++ b/view/tpl/photo_album.tpl
@@ -1,11 +1,11 @@
<div class="section-title-wrapper">
<div class="btn-group btn-group-xs pull-right">
{{if $album_edit.1}}
- <i class="icon-pencil btn btn-default" title="{{$album_edit.0}}" onclick="openClose('photo-album-edit-wrapper');"></i>
+ <i class="icon-pencil btn btn-default" title="{{$album_edit.0}}" onclick="openClose('photo-album-edit-wrapper'); closeMenu('photo-upload-form');"></i>
{{/if}}
<a class="btn btn-default" href="{{$order.1}}" title="{{$order.0}}"><i class="icon-sort"></i></a>
{{if $can_post}}
- <button class="btn btn-xs btn-success" title="{{$usage}}" onclick="openClose('photo-upload-form');"><i class="icon-upload"></i>&nbsp;{{$upload.0}}</button>
+ <button class="btn btn-xs btn-success" title="{{$usage}}" onclick="openClose('photo-upload-form'); closeMenu('photo-album-edit-wrapper');"><i class="icon-upload"></i>&nbsp;{{$upload.0}}</button>
{{/if}}
</div>
<h2>{{$album}}</h2>