aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/dispy/jot-header.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-01-04 18:03:09 -0800
committerfriendica <info@friendica.com>2012-01-04 18:03:09 -0800
commit47edaf9ad79b59d96f908b4501d564e5e63cc210 (patch)
tree635ffc5cd770e2d7f073a2e8c6cc12c2853b7bcc /view/theme/dispy/jot-header.tpl
parentb0c3dc00b9252d896d233747bdd317fb5c360d51 (diff)
downloadvolse-hubzilla-47edaf9ad79b59d96f908b4501d564e5e63cc210.tar.gz
volse-hubzilla-47edaf9ad79b59d96f908b4501d564e5e63cc210.tar.bz2
volse-hubzilla-47edaf9ad79b59d96f908b4501d564e5e63cc210.zip
dynamic title input box - via fabrixxm
Diffstat (limited to 'view/theme/dispy/jot-header.tpl')
-rw-r--r--view/theme/dispy/jot-header.tpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/view/theme/dispy/jot-header.tpl b/view/theme/dispy/jot-header.tpl
index 7a1012230..a3464f3f7 100644
--- a/view/theme/dispy/jot-header.tpl
+++ b/view/theme/dispy/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",
@@ -100,6 +101,12 @@ function initEditor(cb) {
$(this).val("");
initEditor();
});
+
+ $("#jot-title-desc").click(function() {
+ $("#jot-title-desc").hide();
+ $("#jot-title").show();
+ });
+
var uploader = new window.AjaxUpload(
'wall-image-upload',
{ action: 'wall_upload/$nickname',