changing $_POST to request to check for ajax issues with windows, for the events...
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 30 Aug 2016 13:11:15 +0000 (09:11 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 30 Aug 2016 13:11:15 +0000 (09:11 -0400)
models/admin/ajax/eventsCalMonthAJAX.php
views/front/events/agenda.html

index cafdc26..8aa192f 100644 (file)
@@ -117,7 +117,7 @@ class GlmMembersAdmin_ajax_eventsCalMonthAJAX extends GlmDataEventsTimes
     {
 
         $event_data = [];
-        $month = $_POST['month'];
+        $month = $_REQUEST['month'];
         $from = date('Y-m-d', strtotime($month['start']));
         $to   = date('Y-m-d', strtotime($month['last']));
 
index 4452d46..358a59c 100644 (file)
@@ -97,7 +97,7 @@
                 type: 'POST',
                 url: '{$ajaxUrl}',
                 data: dat,
-//                cache: false,
+                cache: false,
                 success: function (response){
                     var buildingEvents = [];
                     var events_obj = jQuery.parseJSON(response);