aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/photo_view.tpl
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-09-18 01:53:04 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-09-18 01:53:04 -0700
commitf2fefb91d5f823385105fe693d0d82d7e236b511 (patch)
treeb875fdb1c49406558de6c30efeee5638f7e3edc8 /view/tpl/photo_view.tpl
parentcc95c3e9c81a11d96b6670180f53490ec30e0324 (diff)
downloadvolse-hubzilla-f2fefb91d5f823385105fe693d0d82d7e236b511.tar.gz
volse-hubzilla-f2fefb91d5f823385105fe693d0d82d7e236b511.tar.bz2
volse-hubzilla-f2fefb91d5f823385105fe693d0d82d7e236b511.zip
change photo permissions when attach permissions are changed through mod/filestorage, and fix lockview for photos.
Diffstat (limited to 'view/tpl/photo_view.tpl')
-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 f5ff23700..225b4f6b0 100755
--- a/view/tpl/photo_view.tpl
+++ b/view/tpl/photo_view.tpl
@@ -15,7 +15,7 @@
<i class="icon-pencil btn btn-default btn-xs" title="{{$edit.edit}}" onclick="openClose('photo-edit');"></i>
{{/if}}
{{if $lock}}
- <i id="lockview" class="icon-lock btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown" title="{{$lock}}" onclick="lockview('item',{{$id}});" ></i><ul id="panel-{{$id}}" class="lockview-panel dropdown-menu"></ul>
+ <i id="lockview" class="icon-lock btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown" title="{{$lock}}" onclick="lockview('photo',{{$id}});" ></i><ul id="panel-{{$id}}" class="lockview-panel dropdown-menu"></ul>
{{/if}}
</div>
<div class="btn-group btn-group">