Index: branches/unlabeled/unlabeled-1.1.2/core/admin_templates/js/calendar/calendar-setup.js =================================================================== diff -u -r7088 -r7089 --- branches/unlabeled/unlabeled-1.1.2/core/admin_templates/js/calendar/calendar-setup.js (.../calendar-setup.js) (revision 7088) +++ branches/unlabeled/unlabeled-1.1.2/core/admin_templates/js/calendar/calendar-setup.js (.../calendar-setup.js) (revision 7089) @@ -19,7 +19,7 @@ * than modifying calendar.js itself). */ -// $Id: calendar-setup.js,v 1.1.2.1 2007-01-10 12:41:49 kostja Exp $ +// $Id: calendar-setup.js,v 1.1.2.2 2007-01-10 19:07:23 kostja Exp $ /** * This function "patches" an input field (or other element) to use a calendar @@ -62,6 +62,8 @@ Calendar.setup = function (params) { function param_default(pname, def) { if (typeof params[pname] == "undefined") { params[pname] = def; } }; + + param_default("inputField", null); param_default("displayArea", null); param_default("button", null);