]> git.mxchange.org Git - friendica.git/blobdiff - view/jot-header.tpl
add info() function. Works like notice() but show messages in a div with class info...
[friendica.git] / view / jot-header.tpl
index eae6cb0f44f56f4cc3fd8c123b3e3c43553a28ec..3057618b2fab9811390bcca75cea001387f8d350 100644 (file)
@@ -37,6 +37,7 @@ tinyMCE.init({
                        else {
                                $('#profile-jot-desc').html(' ');
                        }        
+
                        if(textlen <= 140) {
                                $('#character-counter').removeClass('red');
                                $('#character-counter').removeClass('orange');
@@ -83,12 +84,12 @@ tinyMCE.init({
                        $('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
                                selstr = $(this).text();
                                $('#jot-perms-icon').removeClass('unlock').addClass('lock');
-                               $('#jot-public').attr('checked', false);
+                               $('#jot-public').hide();
                                $('.profile-jot-net input').attr('disabled', 'disabled');
                        });
                        if(selstr == null) { 
                                $('#jot-perms-icon').removeClass('lock').addClass('unlock');
-                               $('#jot-public').attr('checked', 'checked');
+                               $('#jot-public').show();
                                $('.profile-jot-net input').attr('disabled', false);
                        }