mirror of
https://github.com/friendica/friendica
synced 2025-04-26 14:30:13 +00:00
disable network toggles when ACL's are entered
This commit is contained in:
parent
0bfe63e7d8
commit
5e02519a13
6 changed files with 18 additions and 11 deletions
|
@ -75,10 +75,12 @@ tinyMCE.init({
|
|||
$('#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');
|
||||
|
||||
$('.profile-jot-net input').attr('disabled', 'disabled');
|
||||
});
|
||||
if(selstr == null)
|
||||
if(selstr == null) {
|
||||
$('#profile-jot-perms img').attr('src', 'images/unlock_icon.gif');
|
||||
$('.profile-jot-net input').attr('disabled', false);
|
||||
}
|
||||
|
||||
}).trigger('change');
|
||||
|
||||
|
|
|
@ -75,10 +75,12 @@ tinyMCE.init({
|
|||
$('#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');
|
||||
|
||||
$('.profile-jot-net input').attr('disabled', 'disabled');
|
||||
});
|
||||
if(selstr == null)
|
||||
if(selstr == null) {
|
||||
$('#profile-jot-perms img').attr('src', 'images/unlock_icon.gif');
|
||||
$('.profile-jot-net input').attr('disabled', false);
|
||||
}
|
||||
|
||||
}).trigger('change');
|
||||
|
||||
|
|
|
@ -75,11 +75,12 @@ tinyMCE.init({
|
|||
$('#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');
|
||||
|
||||
$('.profile-jot-net input').attr('disabled', 'disabled');
|
||||
});
|
||||
if(selstr == null)
|
||||
if(selstr == null) {
|
||||
$('#profile-jot-perms img').attr('src', 'images/unlock_icon.gif');
|
||||
|
||||
$('.profile-jot-net input').attr('disabled', false);
|
||||
}
|
||||
}).trigger('change');
|
||||
|
||||
});
|
||||
|
|
|
@ -75,10 +75,12 @@ tinyMCE.init({
|
|||
$('#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');
|
||||
|
||||
$('.profile-jot-net input').attr('disabled', 'disabled');
|
||||
});
|
||||
if(selstr == null)
|
||||
if(selstr == null) {
|
||||
$('#profile-jot-perms img').attr('src', 'images/unlock_icon.gif');
|
||||
$('.profile-jot-net input').attr('disabled', false);
|
||||
}
|
||||
|
||||
}).trigger('change');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue