From 709c86b2daec32ae0d5d6d0e7f88b8607e02edba Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Fri, 20 Aug 2010 14:33:15 -0700 Subject: added location tagging --- view/jot-header.tpl | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'view/jot-header.tpl') diff --git a/view/jot-header.tpl b/view/jot-header.tpl index b13a324bb..39f8adc6e 100644 --- a/view/jot-header.tpl +++ b/view/jot-header.tpl @@ -80,6 +80,14 @@ tinyMCE.init({ } } + function jotGetLocation() { + reply = prompt("Where are you right now?"); + if(reply && reply.length) { + $('#jot-location').val(reply); + } + } + + function linkdropper(event) { var linkFound = event.dataTransfer.types.contains("text/uri-list"); if(linkFound) -- cgit v1.2.3