aboutsummaryrefslogtreecommitdiffstats
path: root/view/jot-header.tpl
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-08-20 14:33:15 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-08-20 14:33:15 -0700
commit709c86b2daec32ae0d5d6d0e7f88b8607e02edba (patch)
tree2975e62aebdda560502e3e2454153020e6377db6 /view/jot-header.tpl
parent82174bbfa8ae45cebd75efbf597abf8623caa4b7 (diff)
downloadvolse-hubzilla-709c86b2daec32ae0d5d6d0e7f88b8607e02edba.tar.gz
volse-hubzilla-709c86b2daec32ae0d5d6d0e7f88b8607e02edba.tar.bz2
volse-hubzilla-709c86b2daec32ae0d5d6d0e7f88b8607e02edba.zip
added location tagging
Diffstat (limited to 'view/jot-header.tpl')
-rw-r--r--view/jot-header.tpl8
1 files changed, 8 insertions, 0 deletions
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)