aboutsummaryrefslogtreecommitdiffstats
path: root/view/jot-header.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/jot-header.tpl')
-rw-r--r--view/jot-header.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/view/jot-header.tpl b/view/jot-header.tpl
index 3b4c8c615..eae6cb0f4 100644
--- a/view/jot-header.tpl
+++ b/view/jot-header.tpl
@@ -83,10 +83,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);
$('.profile-jot-net input').attr('disabled', 'disabled');
});
if(selstr == null) {
$('#jot-perms-icon').removeClass('lock').addClass('unlock');
+ $('#jot-public').attr('checked', 'checked');
$('.profile-jot-net input').attr('disabled', false);
}