]> git.mxchange.org Git - friendica.git/commitdiff
frio - events - fix double click on date
authorrabuzarus <>
Sat, 18 Jun 2016 13:23:35 +0000 (15:23 +0200)
committerrabuzarus <>
Sat, 18 Jun 2016 13:23:35 +0000 (15:23 +0200)
view/theme/frio/templates/event_head.tpl

index a44fd30be6ffecf958be34c73df6b25af8a73a5e..3e7dfc1c5c02fb6d6452eaa04639b96ac30f919e 100644 (file)
@@ -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')); });
                                }
                        },