From fe6043d45ef5775e83cfe6ad6fdeb08b0dd38240 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Sat, 7 Nov 2009 12:08:54 -0500 Subject: [PATCH] Revert "Fix variable name." This reverts commit e88fef34e2fb50ac3b3588a5e1288d0b8f509bc7. --- kronolith/js/kronolith.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index 05f9618ac..d9a988f15 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -779,7 +779,7 @@ KronolithCore = { var cal = cals.value[i]; $('kronolithExternalCalendar' + api.key) .insert(new Element('DIV', { 'class': cal.show ? 'kronolithCalOn' : 'kronolithCalOff' }) - .store('calendar', api.key + '/' + cals.key) + .store('calendar', api.key + '/' + cal.key) .store('calendarclass', 'external') .setStyle({ backgroundColor: cal.bg, color: cal.fg }) .update(cal.name.escapeHTML())); @@ -2245,7 +2245,6 @@ KronolithCore = { calClass = elt.retrieve('calendarclass'); if (calClass) { var calendar = elt.retrieve('calendar'); - console.log(calendar); Kronolith.conf.calendars[calClass][calendar].show = !Kronolith.conf.calendars[calClass][calendar].show; if (this.view == 'year' || typeof this.ecache.get(calClass) == 'undefined' || -- 2.11.0