aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/mod_connedit.js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-11 21:18:29 -0800
committerfriendica <info@friendica.com>2015-01-11 21:18:29 -0800
commit580c30f516806621edc653941e33f1ef028d4347 (patch)
tree061a921f1ca6ee92e3b67f84b93a72684548eaab /view/js/mod_connedit.js
parenta088a8f03c78160c865e64fbede01275e869cc5e (diff)
downloadvolse-hubzilla-580c30f516806621edc653941e33f1ef028d4347.tar.gz
volse-hubzilla-580c30f516806621edc653941e33f1ef028d4347.tar.bz2
volse-hubzilla-580c30f516806621edc653941e33f1ef028d4347.zip
another attempt to explain default permissions on connedit page
Diffstat (limited to 'view/js/mod_connedit.js')
-rw-r--r--view/js/mod_connedit.js28
1 files changed, 18 insertions, 10 deletions
diff --git a/view/js/mod_connedit.js b/view/js/mod_connedit.js
index 15b768929..765cbcc30 100644
--- a/view/js/mod_connedit.js
+++ b/view/js/mod_connedit.js
@@ -1,16 +1,23 @@
function abook_perms_msg() {
- $('.abook-permschange').show();
+ $('.abook-permsmsg').show();
// $('.abook-permschange').html(aStr['permschange']);
$('.abook-permssave').show();
}
+function abook_perms_new() {
+ $('.abook-permsnew').show();
+ $('.abook-permssave').show();
+}
+
+
$(document).ready(function() {
if(typeof(after_following) !== 'undefined' && after_following) {
if(typeof(connectDefaultShare) !== 'undefined')
connectDefaultShare();
else
connectFullShare();
+ abook_perms_new();
}
$('#id_pending').click(function() {
@@ -18,11 +25,12 @@ $(document).ready(function() {
connectDefaultShare();
else
connectFullShare();
+ abook_perms_new();
});
- $('.abook-edit-me').click(function() {
- abook_perms_msg();
- });
+// $('.abook-edit-me').click(function() {
+// abook_perms_msg();
+// });
});
@@ -46,7 +54,7 @@ function connectFullShare() {
$('#me_id_perms_view_storage').attr('checked','checked');
$('#me_id_perms_republish').attr('checked','checked');
$('#me_id_perms_post_like').attr('checked','checked');
- abook_perms_msg();
+// abook_perms_msg();
}
function connectCautiousShare() {
@@ -64,7 +72,7 @@ function connectCautiousShare() {
$('#me_id_perms_post_comments').attr('checked','checked');
$('#me_id_perms_post_mail').attr('checked','checked');
$('#me_id_perms_post_like').attr('checked','checked');
- abook_perms_msg();
+// abook_perms_msg();
}
@@ -87,7 +95,7 @@ function connectForum() {
$('#me_id_perms_tag_deliver').attr('checked','checked');
$('#me_id_perms_republish').attr('checked','checked');
$('#me_id_perms_post_like').attr('checked','checked');
- abook_perms_msg();
+// abook_perms_msg();
}
@@ -96,7 +104,7 @@ function connectClear() {
if(! $(this).is(':disabled'))
$(this).removeAttr('checked');
});
- abook_perms_msg();
+// abook_perms_msg();
}
@@ -112,7 +120,7 @@ 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_perms_msg();
+// abook_perms_msg();
}
@@ -124,7 +132,7 @@ function connectFollowOnly() {
});
$('#me_id_perms_send_stream').attr('checked','checked');
- abook_perms_msg();
+// abook_perms_msg();
}