rem: setTimeProperties(); updateYearDiv(); updateMonthDiv(); updateHourDiv(); updateMinuteDiv(); updateAMPMDiv();  
add:  setTimeout(updateAllProperties,0); 
context: function displayCalendarSelectBox(yearInput,monthInput,dayInput,hourInput,minuteInput,buttonObj){	if(!hourInput)calendarDisplayTime=false; else calendarDisplayTime = true;		currentMonth = monthInput.options[monthInput.selectedIndex].value/1-1;	currentYear = yearInput.options[yearInput.selectedIndex].value;	if(hourInput){		currentHour = hourInput.options[hourInput.selectedIndex].value;		inputHour = currentHour/1;	}	if(minuteInput){		currentMinute = minuteInput.options[minuteInput.selectedIndex].value;		inputMinute = currentMinute/1;	}		inputYear = yearInput.options[yearInput.selectedIndex].value;	inputMonth = monthInput.options[monthInput.selectedIndex].value/1 - 1;	inputDay = dayInput.options[dayInput.selectedIndex].value/1;				if(!calendarDiv){		initCalendar();				}else{		writeCalendarContent();	}					returnDateToYear = yearInput;	returnDateToMonth = monthInput;	returnDateToDay = dayInput;	returnDateToHour = hourInput; 		returnDateToMinute = minuteInput; 				returnFormat = false;	returnDateTo = false;	positionCalendar(buttonObj);	calendarDiv.style.visibility = 'visible';		calendarDiv.style.display = 'block';	if(iframeObj){		iframeObj.style.display = '';		iframeObj.style.height = calendarDiv.offsetHeight + 'px';		iframeObj.style.width = calendarDiv.offsetWidth + 'px';			//// fix for EI frame problem on time dropdowns 09/30/2006		iframeObj2.style.display = '';		iframeObj2.style.height = calendarDiv.offsetHeight + 'px';		iframeObj2.style.width = calendarDiv.offsetWidth + 'px'	}	setTimeProperties();	updateYearDiv();	updateMonthDiv();	updateHourDiv();	updateMinuteDiv();	updateAMPMDiv();		}
meta: 5569	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5569/0ae7c9a868d70fcaba44c68870eb1824310364a3/dhtmlgoodies_calendar.js/buggy/wicket-calendar/src/main/java/org/wicketstuff/calendar/markup/html/form/dhtmlgoodies_calendar.js