aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-11-24 14:33:23 +0100
committerMario Vavti <mario@mariovavti.com>2015-11-24 14:33:23 +0100
commitf520cd92d09e171b92b190c87cf6ea728fbb18bb (patch)
treeedbde7ec452165f0bf3fd92b990d3e3c6e6293e4
parenteb6fd311df6fabd0cc2f97560f3672a5b8e1abf6 (diff)
downloadvolse-hubzilla-f520cd92d09e171b92b190c87cf6ea728fbb18bb.tar.gz
volse-hubzilla-f520cd92d09e171b92b190c87cf6ea728fbb18bb.tar.bz2
volse-hubzilla-f520cd92d09e171b92b190c87cf6ea728fbb18bb.zip
open form on dbl-click
-rwxr-xr-xview/tpl/event_head.tpl5
1 files changed, 4 insertions, 1 deletions
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');
+ });
}
},