--- calendar-new.js 2012-08-23 20:03:47.984909980 +0200 +++ calendar.js 2012-08-23 18:51:54.628727812 +0200 @@ -776,14 +776,19 @@ // add onclick event handlers to input field and popup button if (this.params.popup && !this.params.disabled) { + // hack, see NXP-8153 + var popupEl = document.getElementById(this.POPUP_BUTTON_ID); + if (!(popupEl.calendarClickObserved)) { + popupEl.calendarClickObserved = true; var handler = new Function ('event', "$('"+this.id+"').component.doSwitch();").bindAsEventListener(); Event.observe(this.POPUP_BUTTON_ID, "click", handler, false); if (!this.params.enableManualInput) { Event.observe(this.INPUT_DATE_ID, "click", handler, false); } + } } - + this.scrollElements = null; //alert(new Date().getTime()-_d.getTime());