mirror of
https://github.com/friendica/friendica
synced 2024-11-18 00:23:47 +00:00
show lock state changes as recipients and groups are added/removed
This commit is contained in:
parent
2bae548b35
commit
881037a0d9
1 changed files with 11 additions and 0 deletions
|
@ -59,6 +59,17 @@ tinyMCE.init({
|
|||
}
|
||||
}
|
||||
);
|
||||
$('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() {
|
||||
var selstr;
|
||||
$('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
|
||||
selstr = $(this).text();
|
||||
$('#profile-jot-perms img').attr('src', 'images/lock_icon.gif');
|
||||
|
||||
});
|
||||
if(selstr == null)
|
||||
$('#profile-jot-perms img').attr('src', 'images/unlock_icon.gif');
|
||||
|
||||
}).trigger('change');
|
||||
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue