]> git.mxchange.org Git - friendica.git/commitdiff
quattro: fix events_reminder
authorrabuzarus <>
Mon, 17 Oct 2016 16:57:21 +0000 (18:57 +0200)
committerrabuzarus <>
Mon, 17 Oct 2016 16:57:21 +0000 (18:57 +0200)
view/theme/quattro/templates/events_reminder.tpl

index eb5386f386793a7e72106a1743b4c03888971f50..306e278bc0da1b937af41473577783b64eb0df9d 100644 (file)
@@ -1,6 +1,7 @@
+
 <link rel='stylesheet' type='text/css' href='{{$baseurl}}/library/fullcalendar/fullcalendar.css' />
-<script language="javascript" type="text/javascript"
-          src="{{$baseurl}}/library/fullcalendar/fullcalendar.min.js"></script>
+<script type="text/javascript" src="{{$baseurl}}/library/moment/moment.min.js"></script>
+<script type="text/javascript" src="{{$baseurl}}/library/fullcalendar/fullcalendar.min.js"></script>
 <script>
        // start calendar from yesterday
        var yesterday= new Date()
@@ -12,7 +13,7 @@
                        function(data){
                                $.colorbox({html:data});
                        }
-               );                      
+               );
        }
        $(document).ready(function() {
                $('#events-reminder').fullCalendar({
                        month: yesterday.getMonth(),
                        date: yesterday.getDate(),
                        events: '{{$baseurl}}/events/json/',
-                       header: {
-                               left: '',
-                               center: '',
-                               right: ''
-                       },                      
+                       header: false,
                        timeFormat: 'H(:mm)',
                        defaultView: 'basicWeek',
-                       height: 50,
+                       contentHeight: 50,
                        eventClick: function(calEvent, jsEvent, view) {
                                showEvent(calEvent.id);
                        }