Index: openacs-4/packages/acs-subsite/www/resources/core.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/resources/core.js,v diff -u -r1.14 -r1.14.2.1 --- openacs-4/packages/acs-subsite/www/resources/core.js 21 May 2015 09:55:38 -0000 1.14 +++ openacs-4/packages/acs-subsite/www/resources/core.js 7 Sep 2016 09:17:08 -0000 1.14.2.1 @@ -614,9 +614,9 @@ cal._dragStart(ev); } if (el.navtype == -1 || el.navtype == 1) { - cal.timeout = setTimeout("Calendar.showMonthsCombo()", 250); + cal.timeout = setTimeout(function() {Calendar.showMonthsCombo();}, 250); } else if (el.navtype == -2 || el.navtype == 2) { - cal.timeout = setTimeout((el.navtype > 0) ? "Calendar.showYearsCombo(true)" : "Calendar.showYearsCombo(false)", 250); + cal.timeout = setTimeout((el.navtype > 0) ? function() {Calendar.showYearsCombo(true);} : function() {Calendar.showYearsCombo(false);}, 250); } else { cal.timeout = null; }