fixed sutpid bug for calendar

This commit is contained in:
Harry Bomrah 2012-11-21 16:55:18 +08:00
parent 9fc8ec8e16
commit ef3fddd863
1 changed files with 3 additions and 1 deletions

View File

@ -290,6 +290,7 @@ var calendarAPI = function(){
}) })
var doneEventArray = new Array(); var doneEventArray = new Array();
var makerow = function(events){ var makerow = function(events){
var $eventrow =null; var $eventrow =null;
var currow = 0; var currow = 0;
var curdate = 0; var curdate = 0;
@ -320,7 +321,7 @@ var calendarAPI = function(){
var recordcurdate = true; var recordcurdate = true;
if(allow){ if(allow){
if(evnt.title=="Navratri")
//console.log(pos); //console.log(pos);
if(pos == 1){ if(pos == 1){
var colspan = 0; var colspan = 0;
@ -372,6 +373,7 @@ var calendarAPI = function(){
curparent = thisparent; curparent = thisparent;
if(recordcurdate) if(recordcurdate)
doneEventArray.push(evnt.index); doneEventArray.push(evnt.index);
} }
} }