]> git.mxchange.org Git - friendica.git/blobdiff - view/fr/jot-header.tpl
Merge branch 'issue-11' of https://github.com/fabrixxm/friendika into fabrixxm-issue-11
[friendica.git] / view / fr / jot-header.tpl
index d0c956a020d63abcc62373eb6b68654821a0206e..ff7e543a5ed9928d38bfb45f931e92085aeac3ad 100644 (file)
@@ -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');
 
        });