From 22ed5b1d03314d2bc7ff41b4724526fe00472904 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 29 May 2014 20:09:21 -0700 Subject: newevent: front end functions --- view/tpl/jot-header.tpl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'view/tpl/jot-header.tpl') 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(''); -- cgit v1.2.3