From: rabuzarus <> Date: Sat, 18 Jun 2016 13:23:35 +0000 (+0200) Subject: frio - events - fix double click on date X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ee0942b96d9b9054d29eb5492bc910e74bc92ff9;p=friendica.git frio - events - fix double click on date --- 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')); }); } },