aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rw-r--r--view/jot-header.tpl2
-rw-r--r--view/jot.tpl4
2 files changed, 5 insertions, 1 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);
}
diff --git a/view/jot.tpl b/view/jot.tpl
index 31f2eff04..ab7d97733 100644
--- a/view/jot.tpl
+++ b/view/jot.tpl
@@ -57,9 +57,11 @@
</div>
<div id="profile-jot-perms-end"></div>
<div id="profile-jot-email-wrapper" style="display: none;" >
- <div id="profile-jot-email-label">$emailcc</div><input type="text" name="emailcc" id="profile-jot-email" title="$emtitle">
+ <div id="profile-jot-email-label">$emailcc</div><input type="text" name="emailcc" id="profile-jot-email" title="$emtitle" />
+ <!-- div id="profile-jot-publabel">$public</div><input type="checkbox" name="public" id="jot-public" / -->
<div id="profile-jot-email-end"></div>
</div>
+
<div id="profile-jot-networks" style="display: none;" >
$jotnets
</div>