Removed behaviour of jscalendar, which removed drop-down boxes even if the calendar was not in popup mode

This commit is contained in:
Andreas Stöckel 2010-06-07 09:32:59 +00:00
parent 00bbad90c5
commit 57e54c8c27

View File

@ -1326,7 +1326,11 @@ Calendar.prototype.show = function () {
Calendar.addEvent(document, "keypress", Calendar._keyEvent);
Calendar.addEvent(document, "mousedown", Calendar._checkCalendar);
}
this.hideShowCovered();
if (this.isPopup && this.is_ie)
{
this.hideShowCovered();
}
if (Calendar.is_ie5_mac && !this.isPopup)
this.refresh(); // else the layout is broken
@ -1344,7 +1348,11 @@ Calendar.prototype.hide = function () {
}
this.element.style.display = "none";
this.hidden = true;
this.hideShowCovered();
if (this.isPopup && this.is_ie)
{
this.hideShowCovered();
}
};
/**