From f520cd92d09e171b92b190c87cf6ea728fbb18bb Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 24 Nov 2015 14:33:23 +0100 Subject: open form on dbl-click --- view/tpl/event_head.tpl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/view/tpl/event_head.tpl b/view/tpl/event_head.tpl index 0fc3da5bc..d193696b7 100755 --- a/view/tpl/event_head.tpl +++ b/view/tpl/event_head.tpl @@ -56,7 +56,10 @@ }, loading: function(isLoading, view) { if(!isLoading) { - $('td.fc-day').dblclick(function() { window.location.href='/events/new?start='+$(this).data('date'); }); + $('td.fc-day').dblclick(function() { + openMenu('form'); + //window.location.href='/events/new?start='+$(this).data('date'); + }); } }, -- cgit v1.2.3