My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 459: Events not displaying on ie
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Jun 2010


Sign in to add a comment
 
Reported by anuradha...@gmail.com, Apr 23, 2010
Please include a demonstration of your bug (URL or ZIP attachment), as well
as a detailed description.

The events are displayed perfectly on mozilla and chrome but they are not
displayed on ie at all

this is how im getting the events(JSON)
       events: function(start, end, callback) {

            $.ajax
             ({
              async: false,
               type: "POST",
               url: "services/Schedule.asmx/GetEventsByMonth",
               data: "{theStartDate: \'" + start + " \'}",
              contentType: "application/json; charset=utf-8",
              dataType: "json",
               success: function(msg) {
               var inumobs = msg.d.length;
               var tempevents = [];
               for (var i = 0; i < inumobs; i++) 
               {
               tempevents.push
                      ({
                      "title": msg.d[i].Entity.Title,
                     "start": jsonParseDate(msg.d[i].Entity.StartDate),
                     "end": jsonParseDate(msg.d[i].Entity.EndDate),
                     "type": msg.d[i].Entity.EVENT_TYPE.Type,
                      "description": msg.d[i].Entity.Description,
                      "EventID": msg.d[i].Entity.Id
                     });
                    }
                callback(tempevents);
               }

        });
 }

jsonparsedate returns a proper date
  function jsonParseDate(obj) {
             if (typeof obj !== "string") 
             {
                 return obj;
             }
             var match = obj.match(/^\/Date\((-?\d+)\)\/$/);
             if (!match) 
             {
                 return obj;
             }
             var d = new Date(parseInt(match[1]));
             return d;
         }



Jun 14, 2010
Project Member #1 adamrs...@gmail.com
this seems like a problem with your code and not with fullcalendar. please try asking / posting somewhere else. good luck

ps- there is most likely something going wrong with your date parsing that has a browser-specific bug
Status: Done
Sign in to add a comment

Powered by Google Project Hosting