From ee0942b96d9b9054d29eb5492bc910e74bc92ff9 Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Sat, 18 Jun 2016 15:23:35 +0200 Subject: [PATCH] frio - events - fix double click on date --- view/theme/frio/templates/event_head.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/theme/frio/templates/event_head.tpl b/view/theme/frio/templates/event_head.tpl index a44fd30be6..3e7dfc1c5c 100644 --- a/view/theme/frio/templates/event_head.tpl +++ b/view/theme/frio/templates/event_head.tpl @@ -45,7 +45,7 @@ }, 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() { addToModal('/events/new?start='+$(this).data('date')); }); } }, -- 2.39.5