aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/event_head.tpl
diff options
context:
space:
mode:
authormrjive <mrjive@mrjive.it>2015-01-06 15:13:03 +0100
committermrjive <mrjive@mrjive.it>2015-01-06 15:13:03 +0100
commitb80c218606994032e76805900cb9b340ea132358 (patch)
treebf625cf4c59bf521e639018399bf1770d116a6a0 /view/tpl/event_head.tpl
parentaa6d61d3b19cb13c30bf5a1579adefedf0cc9515 (diff)
parent3185bfe3ca131d471b8fcdc0c94abf1a114486c7 (diff)
downloadvolse-hubzilla-b80c218606994032e76805900cb9b340ea132358.tar.gz
volse-hubzilla-b80c218606994032e76805900cb9b340ea132358.tar.bz2
volse-hubzilla-b80c218606994032e76805900cb9b340ea132358.zip
Merge pull request #1 from friendica/master
test pull request
Diffstat (limited to 'view/tpl/event_head.tpl')
-rwxr-xr-xview/tpl/event_head.tpl12
1 files changed, 9 insertions, 3 deletions
diff --git a/view/tpl/event_head.tpl b/view/tpl/event_head.tpl
index 8388187d1..830347555 100755
--- a/view/tpl/event_head.tpl
+++ b/view/tpl/event_head.tpl
@@ -24,10 +24,16 @@
eventClick: function(calEvent, jsEvent, view) {
showEvent(calEvent.id);
},
-
+ loading: function(isLoading, view) {
+ if(!isLoading) {
+ $('td.fc-day').dblclick(function() { window.location.href='/events/new?start='+$(this).data('date'); });
+ }
+ },
+
eventRender: function(event, element, view) {
//console.log(view.name);
if (event.item['author']['xchan_name']==null) return;
+
switch(view.name){
case "month":
element.find(".fc-event-title").html(
@@ -115,10 +121,10 @@
$('#event-share-checkbox').change(function() {
if ($('#event-share-checkbox').is(':checked')) {
- $('#acl-wrapper').show();
+ $('#event-permissions-button').show();
}
else {
- $('#acl-wrapper').hide();
+ $('#event-permissions-button').hide();
}
}).trigger('change');