diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css
index c6582d068..6ce4c52c0 100644
--- a/view/theme/duepuntozero/style.css
+++ b/view/theme/duepuntozero/style.css
@@ -269,6 +269,22 @@ div.wall-item-content-wrapper.shiny {
float: left;
}
+#jot-title-desc {
+ color: #cccccc;
+}
+
+#jot-title-wrapper {
+ margin-bottom: 5px;
+}
+#jot-title-display {
+ font-weight: bold;
+}
+
+#jot-title {
+ border: 1px solid #cccccc;
+ width: 530px;
+}
+
.fakelink, .fakelink:visited, .fakelink:link {
color: #3465a4;
text-decoration: none;
diff --git a/view/theme/loozah/style.css b/view/theme/loozah/style.css
index 222edc166..6b8aef500 100644
--- a/view/theme/loozah/style.css
+++ b/view/theme/loozah/style.css
@@ -131,6 +131,23 @@ blockquote:before {
float: left;
}
+#jot-title-desc {
+ color: #cccccc;
+}
+
+#jot-title-wrapper {
+ margin-bottom: 5px;
+}
+
+#jot-title {
+ border: 1px solid #cccccc;
+ width: 530px;
+}
+
+#jot-title-display {
+ font-weight: bold;
+}
+
.fakelink, .fakelink:visited {
color: #15607B;
text-decoration: none;
diff --git a/view/theme/testbubble/jot-header.tpl b/view/theme/testbubble/jot-header.tpl
index 62351e173..7b2dca9fe 100644
--- a/view/theme/testbubble/jot-header.tpl
+++ b/view/theme/testbubble/jot-header.tpl
@@ -8,6 +8,7 @@ var textlen = 0;
function initEditor(cb) {
if (editor==false) {
$("#profile-jot-text-loading").show();
+ $("#jot-title-desc").show();
tinyMCE.init({
theme : "advanced",
mode : "specific_textareas",
@@ -122,6 +123,32 @@ function initEditor(cb) {
$(this).val("");
initEditor();
});
+
+
+ $("#jot-title").mouseout(function() {
+ $("#jot-title").hide();
+ var ttl = $("#jot-title").val();
+ $('#jot-title-display').html(ttl);
+ if(ttl.length) {
+ $("#jot-title-display").show();
+ }
+ else {
+ $("#jot-title-desc").show();
+ }
+ });
+
+ $("#jot-title-display").hover(function() {
+ $("#jot-title-display").hide();
+ $("#jot-title").show();
+ $("#jot-title").focus();
+ });
+
+ $("#jot-title-desc").click(function() {
+ $("#jot-title-desc").hide();
+ $("#jot-title").show();
+ $("#jot-title").focus();
+ });
+
var uploader = new window.AjaxUpload(
'wall-image-upload',
{ action: 'wall_upload/$nickname',
diff --git a/view/theme/testbubble/jot.tpl b/view/theme/testbubble/jot.tpl
index 7ccaf2aa2..fa655a13e 100644
--- a/view/theme/testbubble/jot.tpl
+++ b/view/theme/testbubble/jot.tpl
@@ -14,8 +14,14 @@
-
+
+
+
+ $addtitle
+
+
+
@@ -42,9 +48,6 @@
-
diff --git a/view/theme/testbubble/style.css b/view/theme/testbubble/style.css
index d1d344ef9..3a5d9f178 100644
--- a/view/theme/testbubble/style.css
+++ b/view/theme/testbubble/style.css
@@ -744,6 +744,23 @@ ul .sidebar-group-li .icon{
#profile-jot-submit-wrapper {
}
+#jot-title-desc {
+ color: #cccccc;
+}
+
+#jot-title-wrapper {
+ margin-bottom: 5px;
+}
+
+#jot-title {
+ border: 1px solid #cccccc;
+ width: 460px;
+}
+
+#jot-title-display {
+ font-weight: bold;
+}
+
#profile-jot-perms, #profile-jot-submit {
width: 60px;
font-size: 12px;