aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/testbubble/jot-header.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/theme/testbubble/jot-header.tpl')
-rw-r--r--view/theme/testbubble/jot-header.tpl26
1 files changed, 1 insertions, 25 deletions
diff --git a/view/theme/testbubble/jot-header.tpl b/view/theme/testbubble/jot-header.tpl
index 7b2dca9fe..18f07970c 100644
--- a/view/theme/testbubble/jot-header.tpl
+++ b/view/theme/testbubble/jot-header.tpl
@@ -8,7 +8,6 @@ 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",
@@ -85,6 +84,7 @@ function initEditor(cb) {
ed.onInit.add(function(ed) {
ed.pasteAsPlainText = true;
$("#profile-jot-text-loading").hide();
+ $(".jothidden").show();
$("#profile-jot-submit-wrapper").show();
{{ if $newpost }}
$("#profile-upload-wrapper").show();
@@ -125,30 +125,6 @@ function initEditor(cb) {
});
- $("#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',