Index: branches/RC/core/admin_templates/js/calendar/calendar-setup.js =================================================================== diff -u -N -r10656 -r11675 --- branches/RC/core/admin_templates/js/calendar/calendar-setup.js (.../calendar-setup.js) (revision 10656) +++ branches/RC/core/admin_templates/js/calendar/calendar-setup.js (.../calendar-setup.js) (revision 11675) @@ -19,7 +19,7 @@ * than modifying calendar.js itself). */ -// $Id: calendar-setup.js,v 1.2.2.1 2008-06-12 11:40:06 alex Exp $ +// $Id: calendar-setup.js,v 1.2.2.2 2009-05-03 15:46:13 valex Exp $ /** * This function "patches" an input field (or other element) to use a calendar @@ -161,7 +161,7 @@ $check_field = document.getElementById($regex[1] + '[' + $regex[2] + '_date]'); } - if ($check_field.disabled) { + if ($check_field.disabled || $check_field.readOnly) { // don't show calendar, when date/time field is disabled return false; }