diff options
author | habeascodice <habeascodice@federated.social> | 2014-10-29 03:39:07 -0700 |
---|---|---|
committer | habeascodice <habeascodice@federated.social> | 2014-10-29 03:39:07 -0700 |
commit | bc02b933727da7a000d43d2d7d495f066616dc81 (patch) | |
tree | e590b70757edb94655872f5b992f143cead61eb3 /view/js/mod_settings.js | |
parent | fc12123329133cea39f27615a7c24c57e5b4a35d (diff) | |
parent | 7d9f785758ee6e4c19838e532f9930e227e95fc6 (diff) | |
download | volse-hubzilla-bc02b933727da7a000d43d2d7d495f066616dc81.tar.gz volse-hubzilla-bc02b933727da7a000d43d2d7d495f066616dc81.tar.bz2 volse-hubzilla-bc02b933727da7a000d43d2d7d495f066616dc81.zip |
Merge remote branch 'upstream/master'
Diffstat (limited to 'view/js/mod_settings.js')
-rw-r--r-- | view/js/mod_settings.js | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/view/js/mod_settings.js b/view/js/mod_settings.js index 77c9d0ced..87c8c3a2b 100644 --- a/view/js/mod_settings.js +++ b/view/js/mod_settings.js @@ -3,10 +3,18 @@ var ispublic = aStr['everybody'] ; $(document).ready(function() { - $("a#settings-default-perms-menu").colorbox({ - 'inline' : true, - 'transition' : 'elastic' - }); + $("a#settings-default-perms-menu").colorbox({ + 'inline' : true, + 'transition' : 'elastic' + }); + + $("#privacy-role-select").change(function() { + var role = $("#privacy-role-select").val(); + if(role == 'custom') + $('#advanced-perm').show(); + else + $('#advanced-perm').hide(); + }); $('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() { var selstr; |