aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/jot-header.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-05-29 20:09:21 -0700
committerfriendica <info@friendica.com>2014-05-29 20:09:21 -0700
commit22ed5b1d03314d2bc7ff41b4724526fe00472904 (patch)
tree6107189095449666c8bbfc46422c92c0440abbe7 /view/tpl/jot-header.tpl
parent6e0cc25a90fa65ff49317d1fa3c4aff49a4d2d6a (diff)
downloadvolse-hubzilla-22ed5b1d03314d2bc7ff41b4724526fe00472904.tar.gz
volse-hubzilla-22ed5b1d03314d2bc7ff41b4724526fe00472904.tar.bz2
volse-hubzilla-22ed5b1d03314d2bc7ff41b4724526fe00472904.zip
newevent: front end functions
Diffstat (limited to 'view/tpl/jot-header.tpl')
-rwxr-xr-xview/tpl/jot-header.tpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl
index 27b081b57..9af786741 100755
--- a/view/tpl/jot-header.tpl
+++ b/view/tpl/jot-header.tpl
@@ -300,6 +300,12 @@ function enableOnUser(){
timer = setTimeout(NavUpdate,1000);
}
+ function itemAddToCal(id) {
+ $.get('{{$baseurl}}/event/add/' + id);
+ if(timer) clearTimeout(timer);
+ timer = setTimeout(NavUpdate,1000);
+ }
+
function jotClearLocation() {
$('#jot-coord').val('');