aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/event_head.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-01 21:49:01 -0800
committerfriendica <info@friendica.com>2015-01-01 21:49:01 -0800
commit545e47933a0816699c68d98a7742a03260d6a54f (patch)
tree1590e642e1eb48c76dd7c82b4bab4bb93ddf344d /view/tpl/event_head.tpl
parent0286c5a35b7f6fb0f02e50110deb78ae66a028cf (diff)
parent9d4c4efb5176afe5284bc5c22df277510c64786b (diff)
downloadvolse-hubzilla-545e47933a0816699c68d98a7742a03260d6a54f.tar.gz
volse-hubzilla-545e47933a0816699c68d98a7742a03260d6a54f.tar.bz2
volse-hubzilla-545e47933a0816699c68d98a7742a03260d6a54f.zip
Merge https://github.com/friendica/red into pending_merge
Diffstat (limited to 'view/tpl/event_head.tpl')
-rwxr-xr-xview/tpl/event_head.tpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/view/tpl/event_head.tpl b/view/tpl/event_head.tpl
index bcb1e07f6..03ea833f9 100755
--- a/view/tpl/event_head.tpl
+++ b/view/tpl/event_head.tpl
@@ -24,6 +24,11 @@
eventClick: function(calEvent, jsEvent, view) {
showEvent(calEvent.id);
},
+ loading: function(isLoading, view) {
+ if(!isLoading) {
+ $('td.fc-day').dblclick(function() { window.location.href='https://caterva.eu/events/new?start='+$(this).data('date'); });
+ }
+ },
eventRender: function(event, element, view) {
//console.log(view.name);