aboutsummaryrefslogtreecommitdiffstats
path: root/view/jot-header.tpl
diff options
context:
space:
mode:
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) {