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