diff options
author | friendica <info@friendica.com> | 2012-12-08 15:14:32 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-12-08 15:14:32 -0800 |
commit | 75ea0cfa32ea490314331100281183d775861789 (patch) | |
tree | 2f13e4360fecca7c46af1c6bdb01a77815a42c9e /view/js | |
parent | c70777e19c6b48fe128e7ee9cbcaefb1de84c793 (diff) | |
download | volse-hubzilla-75ea0cfa32ea490314331100281183d775861789.tar.gz volse-hubzilla-75ea0cfa32ea490314331100281183d775861789.tar.bz2 volse-hubzilla-75ea0cfa32ea490314331100281183d775861789.zip |
make permission quick links work
Diffstat (limited to 'view/js')
-rw-r--r-- | view/js/mod_connections.js | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/view/js/mod_connections.js b/view/js/mod_connections.js index 6a7f2eaed..cb4badff5 100644 --- a/view/js/mod_connections.js +++ b/view/js/mod_connections.js @@ -19,3 +19,33 @@ $(".autocomplete-w1 .selected").keyup(function(event){ $("#contacts-search-submit").click(); } }); + + +function connectFullShare() { + $('#me_id_perms_view_stream').attr('checked','checked'); + $('#me_id_perms_view_profile').attr('checked','checked'); + $('#me_id_perms_view_photos').attr('checked','checked'); + $('#me_id_perms_view_contacts').attr('checked','checked'); + $('#me_id_perms_send_stream').attr('checked','checked'); + $('#me_id_perms_post_wall').attr('checked','checked'); + $('#me_id_perms_post_comments').attr('checked','checked'); + $('#me_id_perms_post_mail').attr('checked','checked'); + $('#me_id_perms_chat').attr('checked','checked'); + +} + +function connectCautiousShare() { + $('#me_id_perms_view_stream').attr('checked','checked'); + $('#me_id_perms_view_profile').attr('checked','checked'); + $('#me_id_perms_view_photos').attr('checked','checked'); + $('#me_id_perms_send_stream').attr('checked','checked'); + $('#me_id_perms_post_comments').attr('checked','checked'); + $('#me_id_perms_post_mail').attr('checked','checked'); + +} + +function connectFollowOnly() { + $('#me_id_perms_send_stream').attr('checked','checked'); + +} + |