Commit c625c813 authored by Raph El's avatar Raph El
Browse files

Modif mylog

parent b5dc42ae
......@@ -374,7 +374,7 @@ var calendar = {
showPopup : false,
//creates fullCalendar
buildCalObj: function(eventObj) {
mylog.log("calendar.buildCalObj ", eventObj);
//mylog.log("calendar.buildCalObj ", eventObj);
//entries for the calendar
var organiser = "";
if("undefined" != typeof eventObj["links"] && "undefined" != typeof eventObj.links["organizer"]){
......@@ -440,7 +440,7 @@ var calendar = {
typeof costum.calendar.buildCalObj == "function")
taskCal = costum.calendar.buildCalObj(eventObj, taskCal);
}
mylog.log("calendar.buildCalObj taskCal", taskCal);
//mylog.log("calendar.buildCalObj taskCal", taskCal);
return taskCal;
},
showInCalendar : function (events) {
......@@ -466,13 +466,13 @@ var calendar = {
// calendar.bindEventCalendar();
},
addEvents : function(events){
mylog.log("calendar.addEvents", events);
//mylog.log("calendar.addEvents", events);
if(events){
$.each(events,function(eventId,eventObj){
mylog.log("calendar.addEvents eventCal", eventCal);
//mylog.log("calendar.addEvents eventCal", eventCal);
if(typeof calendar.eventsList[eventId]=="undefined"){
var eventCal = calendar.buildCalObj(eventObj);
mylog.log("calendar.addEvents eventCal", eventCal);
//mylog.log("calendar.addEvents eventCal", eventCal);
if(eventCal){
calendar.eventsList[eventId]=eventCal ;
$(calendar.domTarget).fullCalendar('renderEvent', eventCal, true);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment