aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/testbubble/jot-header.tpl
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-11-10 17:11:55 -0800
committerFriendika <info@friendika.com>2011-11-10 17:11:55 -0800
commitc66b886d7e47f6721d2f3eb39cae8599001f79d9 (patch)
treecebf70de2b500bd2945735f5fac072985afac96b /view/theme/testbubble/jot-header.tpl
parent83e55cf9f43f45465fc52030d55f0ae331e7947b (diff)
downloadvolse-hubzilla-c66b886d7e47f6721d2f3eb39cae8599001f79d9.tar.gz
volse-hubzilla-c66b886d7e47f6721d2f3eb39cae8599001f79d9.tar.bz2
volse-hubzilla-c66b886d7e47f6721d2f3eb39cae8599001f79d9.zip
shared tags for testbubble, prevent tag hijacking of shared tag activities
Diffstat (limited to 'view/theme/testbubble/jot-header.tpl')
-rw-r--r--view/theme/testbubble/jot-header.tpl17
1 files changed, 17 insertions, 0 deletions
diff --git a/view/theme/testbubble/jot-header.tpl b/view/theme/testbubble/jot-header.tpl
index 5ada1fdf8..4a1526ab5 100644
--- a/view/theme/testbubble/jot-header.tpl
+++ b/view/theme/testbubble/jot-header.tpl
@@ -254,6 +254,23 @@ function initEditor(cb) {
}
}
+ function itemTag(id) {
+ reply = prompt("$term");
+ if(reply && reply.length) {
+ reply = reply.replace('#','');
+ if(reply.length) {
+
+ commentBusy = true;
+ $('body').css('cursor', 'wait');
+
+ $.get('tagger/' + id + '?term=' + reply);
+ if(timer) clearTimeout(timer);
+ timer = setTimeout(NavUpdate,3000);
+ liking = 1;
+ }
+ }
+ }
+
function jotClearLocation() {
$('#jot-coord').val('');
$('#profile-nolocation-wrapper').hide();