auto-submit connection edit form when quick permissions are applied
This commit is contained in:
@@ -34,7 +34,7 @@ function connectFullShare() {
|
||||
$('#me_id_perms_post_mail').attr('checked','checked');
|
||||
$('#me_id_perms_chat').attr('checked','checked');
|
||||
$('#me_id_perms_view_storage').attr('checked','checked');
|
||||
|
||||
$('#abook-edit-form').submit();
|
||||
}
|
||||
|
||||
function connectCautiousShare() {
|
||||
@@ -46,6 +46,7 @@ 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-edit-form').submit();
|
||||
|
||||
}
|
||||
|
||||
@@ -61,11 +62,14 @@ function connectForum() {
|
||||
$('#me_id_perms_post_comments').attr('checked','checked');
|
||||
$('#me_id_perms_post_mail').attr('checked','checked');
|
||||
$('#me_id_perms_tag_deliver').attr('checked','checked');
|
||||
$('#abook-edit-form').submit();
|
||||
|
||||
}
|
||||
|
||||
|
||||
function connectFollowOnly() {
|
||||
$('#me_id_perms_send_stream').attr('checked','checked');
|
||||
$('#abook-edit-form').submit();
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user