aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-12-10 09:37:29 +0000
committerMario <mario@mariovavti.com>2018-12-14 11:30:57 +0100
commit1bd49671b710ed6b6a34726535d1cbcd262716d0 (patch)
tree64ff16a223a008560e0314615fce9e18f9af0506 /view
parent989605754948ad8b8d0f0642d1c3ba155a0b362a (diff)
downloadvolse-hubzilla-1bd49671b710ed6b6a34726535d1cbcd262716d0.tar.gz
volse-hubzilla-1bd49671b710ed6b6a34726535d1cbcd262716d0.tar.bz2
volse-hubzilla-1bd49671b710ed6b6a34726535d1cbcd262716d0.zip
add photo_view_filter hook and fix minor issue with unset auto_save_draft variable which resultet in a javascript error
(cherry picked from commit 7894fed7413ab3bd782bf939b17ca70bf0196d28)
Diffstat (limited to 'view')
-rwxr-xr-xview/tpl/photo_view.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/photo_view.tpl b/view/tpl/photo_view.tpl
index 105cf0ac8..6d566cab9 100755
--- a/view/tpl/photo_view.tpl
+++ b/view/tpl/photo_view.tpl
@@ -99,7 +99,7 @@
<div id="photo-edit-end" class="clear"></div>
</div>
<div id="photo-view-wrapper">
- <div id="photo-photo"><a href="{{$photo.href}}" title="{{$photo.title}}" onclick="$.colorbox({href: '{{$photo.href}}'}); return false;"><img style="width: 100%;" src="{{$photo.src}}"></a></div>
+ <div id="photo-photo"><a href="{{$photo.href}}" title="{{$photo.title}}" onclick="{{$onclick}}"><img style="width: 100%;" src="{{$photo.src}}"></a></div>
<div id="photo-photo-end" class="clear"></div>
{{if $tags}}
<div class="photo-item-tools-left" id="in-this-photo">