aboutsummaryrefslogtreecommitdiffstats
path: root/view/jot-header.tpl
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-03-29 18:57:26 -0700
committerFriendika <info@friendika.com>2011-03-29 18:57:26 -0700
commit066bdca30dde91fd94c58707f638536ec0ba9002 (patch)
treede30df727ed397d892338a0b609d357d668163f3 /view/jot-header.tpl
parent8f547283c07483123901ae41c9f70881113cb35d (diff)
downloadvolse-hubzilla-066bdca30dde91fd94c58707f638536ec0ba9002.tar.gz
volse-hubzilla-066bdca30dde91fd94c58707f638536ec0ba9002.tar.bz2
volse-hubzilla-066bdca30dde91fd94c58707f638536ec0ba9002.zip
optionally set article title
Diffstat (limited to 'view/jot-header.tpl')
-rw-r--r--view/jot-header.tpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/view/jot-header.tpl b/view/jot-header.tpl
index 774b37c86..eebaf803a 100644
--- a/view/jot-header.tpl
+++ b/view/jot-header.tpl
@@ -126,6 +126,13 @@ tinyMCE.init({
}
}
+ function jotTitle() {
+ reply = prompt("$title", $('#jot-title').val());
+ if(reply && reply.length) {
+ $('#jot-title').val(reply);
+ }
+ }
+
function jotShare(id) {
$('#like-rotator-' + id).show();
$.get('share/' + id, function(data) {