diff options
author | friendica <info@friendica.com> | 2014-03-07 21:55:52 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-03-07 21:55:52 -0800 |
commit | 5ec38459dc474700ec89304786228ba06bfbed53 (patch) | |
tree | de273b8b432615065323289fd2b14196046726cd /view/js | |
parent | ab0eab49e866e29b1c1b5ef58897c6a446d24864 (diff) | |
download | volse-hubzilla-5ec38459dc474700ec89304786228ba06bfbed53.tar.gz volse-hubzilla-5ec38459dc474700ec89304786228ba06bfbed53.tar.bz2 volse-hubzilla-5ec38459dc474700ec89304786228ba06bfbed53.zip |
notify when permissions change and haven't been saved.
Diffstat (limited to 'view/js')
-rw-r--r-- | view/js/mod_connedit.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/view/js/mod_connedit.js b/view/js/mod_connedit.js index 80a56f854..8f06aeee9 100644 --- a/view/js/mod_connedit.js +++ b/view/js/mod_connedit.js @@ -27,6 +27,8 @@ function connectFullShare() { $('#me_id_perms_view_storage').attr('checked','checked'); $('#me_id_perms_republish').attr('checked','checked'); + $('.abook-permschange').show(); + $('.abook-permschange').html(aStr['permschange']); } function connectCautiousShare() { @@ -43,6 +45,9 @@ function connectCautiousShare() { $('#me_id_perms_send_stream').attr('checked','checked'); $('#me_id_perms_post_comments').attr('checked','checked'); $('#me_id_perms_post_mail').attr('checked','checked'); + $('.abook-permschange').show(); + $('.abook-permschange').html(aStr['permschange']); + } function connectForum() { @@ -63,6 +68,8 @@ function connectForum() { $('#me_id_perms_post_mail').attr('checked','checked'); $('#me_id_perms_tag_deliver').attr('checked','checked'); $('#me_id_perms_republish').attr('checked','checked'); + $('.abook-permschange').show(); + $('.abook-permschange').html(aStr['permschange']); } @@ -78,6 +85,8 @@ function connectSoapBox() { $('#me_id_perms_view_contacts').attr('checked','checked'); $('#me_id_perms_view_storage').attr('checked','checked'); $('#me_id_perms_view_pages').attr('checked','checked'); + $('.abook-permschange').show(); + $('.abook-permschange').html(aStr['permschange']); } @@ -88,5 +97,8 @@ function connectFollowOnly() { }); $('#me_id_perms_send_stream').attr('checked','checked'); + $('.abook-permschange').show(); + $('.abook-permschange').html(aStr['permschange']); + } |