testing removal of cache: false for jquery ajax request for events calendar to test...
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 30 Aug 2016 12:59:31 +0000 (08:59 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 30 Aug 2016 12:59:31 +0000 (08:59 -0400)
views/front/events/agenda.html

index 82f4a40..4452d46 100644 (file)
                 type: 'POST',
                 url: '{$ajaxUrl}',
                 data: dat,
-                cache: false,
+//                cache: false,
                 success: function (response){
-//                    console.log(response);
                     var buildingEvents = [];
                     var events_obj = jQuery.parseJSON(response);
                     var events = events_obj.events;
-//                    console.log(events);
 
                     buildingEvents = $.map(events, function(i, val) { 
                         return {   
             },
             dayClick: function(date, jsEvent, view) {
                 test = $('#eventCalendar').fullCalendar('getView').end;
-                console.log(test);
                 $('#eventCalendar').fullCalendar('changeView', 'agendaDay');
                 $('#eventCalendar').fullCalendar('gotoDate', date);
             },