aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-09-22 11:07:21 +0200
committerMario Vavti <mario@mariovavti.com>2016-09-22 11:07:21 +0200
commit56aa5681244a5c4577ad3a3d95d32d764309d15a (patch)
tree0748fabaf599c23a27986711fcb8ca7b39ca28dc /view
parent73c781a0cf2cdcb90a9f024d44e010459da277b2 (diff)
downloadvolse-hubzilla-56aa5681244a5c4577ad3a3d95d32d764309d15a.tar.gz
volse-hubzilla-56aa5681244a5c4577ad3a3d95d32d764309d15a.tar.bz2
volse-hubzilla-56aa5681244a5c4577ad3a3d95d32d764309d15a.zip
objects with id=share_container seem to be blacklisted in various security browser plugins. rename it to distr_container. also remove some superfluous js
Diffstat (limited to 'view')
-rwxr-xr-xview/tpl/event_head.tpl16
1 files changed, 2 insertions, 14 deletions
diff --git a/view/tpl/event_head.tpl b/view/tpl/event_head.tpl
index 640e6024a..646c68564 100755
--- a/view/tpl/event_head.tpl
+++ b/view/tpl/event_head.tpl
@@ -154,9 +154,9 @@
});
// ACL
- $('#id_share').change(function() {
+ $('#id_distr').change(function() {
- if ($('#id_share').is(':checked')) {
+ if ($('#id_distr').is(':checked')) {
$('#dbtn-acl').show();
}
else {
@@ -164,18 +164,6 @@
}
}).trigger('change');
- $('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() {
- var selstr;
- $('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
- selstr = $(this).text();
- $('#jot-public').hide();
- });
- if(selstr == null) {
- $('#jot-public').show();
- }
-
- }).trigger('change');
-
});
</script>