aboutsummaryrefslogtreecommitdiffstats
path: root/view/jot-header.tpl
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-10-24 15:47:17 -0700
committerFriendika <info@friendika.com>2011-10-24 15:47:17 -0700
commit3b6b0eaa8ba8f59c70f66a6c92888f9ff2d5b41b (patch)
tree938348de7342a4730e4fa6f36090ae0742e86127 /view/jot-header.tpl
parentf48fd5aa1651cdc801473e9d24c1736304533e63 (diff)
downloadvolse-hubzilla-3b6b0eaa8ba8f59c70f66a6c92888f9ff2d5b41b.tar.gz
volse-hubzilla-3b6b0eaa8ba8f59c70f66a6c92888f9ff2d5b41b.tar.bz2
volse-hubzilla-3b6b0eaa8ba8f59c70f66a6c92888f9ff2d5b41b.zip
social tag - add UI
Diffstat (limited to 'view/jot-header.tpl')
-rw-r--r--view/jot-header.tpl13
1 files changed, 13 insertions, 0 deletions
diff --git a/view/jot-header.tpl b/view/jot-header.tpl
index 22bd0aa5b..b06712407 100644
--- a/view/jot-header.tpl
+++ b/view/jot-header.tpl
@@ -214,6 +214,19 @@ function initEditor(cb){
}
}
+ function itemTag(id) {
+ $('#like-rotator-' + id).show();
+ reply = prompt("$term");
+ if(reply && reply.length) {
+ reply.replace('#','');
+ if(reply.length) {
+ $.get('tagger/' + id + '?term=' + reply, function(data) {
+ $('#like-rotator-' + id).hide();
+ });
+ }
+ }
+ }
+
function jotClearLocation() {
$('#jot-coord').val('');
$('#profile-nolocation-wrapper').hide();