aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-12-25 14:25:58 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-12-25 14:25:58 -0800
commita085f4df7f27485be3877940f0009436fd8c19f1 (patch)
treed32463ec7ff3dcc6af8d7e5527aadd99b7a6545c /view
parentd39cd088a1dcea5dc9c34cc1fb000f7b6ee1676b (diff)
downloadvolse-hubzilla-a085f4df7f27485be3877940f0009436fd8c19f1.tar.gz
volse-hubzilla-a085f4df7f27485be3877940f0009436fd8c19f1.tar.bz2
volse-hubzilla-a085f4df7f27485be3877940f0009436fd8c19f1.zip
regression: default inherited permission was not being set for a connection if the permission was 'inherited'. We need to set these so that if somebody changes the top level permissions they don't have to go back and manually edit every connection to allow/deny what used to be an automatic inherited setting.
Diffstat (limited to 'view')
-rwxr-xr-xview/tpl/field_acheckbox.tpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/view/tpl/field_acheckbox.tpl b/view/tpl/field_acheckbox.tpl
index e99128bbb..d85c234f1 100755
--- a/view/tpl/field_acheckbox.tpl
+++ b/view/tpl/field_acheckbox.tpl
@@ -13,6 +13,7 @@
<input type="checkbox" name='{{$field.0}}' class='abook-edit-me' id='me_id_{{$field.0}}' value="{{$field.4}}" {{if $field.3}}checked="checked"{{/if}} />
{{/if}}
{{if $notself && $field.5}}
+ <input type="hidden" name='{{$field.0}}' value="{{if $field.7}}1{{else}}0{{/if}}" />
{{if $field.3}}<i class="icon-check"></i>{{else}}<i class="icon-check-empty"></i>{{/if}}
{{/if}}
</td>