mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-17 04:15:15 +02:00
Icons as CSS classes, hide net/home/mail/notify-update divs with no value
This commit is contained in:
parent
0ac4d6ecc9
commit
daa7dc983b
16 changed files with 133 additions and 42 deletions
|
@ -74,11 +74,11 @@ tinyMCE.init({
|
|||
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');
|
||||
$('#jot-perms-icon').removeClass('unlock').addClass('lock');
|
||||
$('.profile-jot-net input').attr('disabled', 'disabled');
|
||||
});
|
||||
if(selstr == null) {
|
||||
$('#profile-jot-perms img').attr('src', 'images/unlock_icon.gif');
|
||||
$('#jot-perms-icon').removeClass('lock').addClass('unlock');
|
||||
$('.profile-jot-net input').attr('disabled', false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue