Fix error when creating events with attendees before editing events with attendees.
authorJan Schneider <jan@horde.org>
Tue, 25 May 2010 13:29:10 +0000 (15:29 +0200)
committerJan Schneider <jan@horde.org>
Tue, 25 May 2010 13:29:10 +0000 (15:29 +0200)
kronolith/js/kronolith.js

index 55cacfb..04246a8 100644 (file)
@@ -16,7 +16,7 @@ var frames = { horde_main: true },
 KronolithCore = {
     // Vars used and defaulting to null/false:
     //   DMenu, Growler, inAjaxCallback, is_logout, weekSizes, daySizes,
-    //   viewLoading, groupLoading, freeBusy, colorPicker, duration, timeMarker
+    //   viewLoading, groupLoading, colorPicker, duration, timeMarker
 
     view: '',
     ecache: $H(),
@@ -36,6 +36,7 @@ KronolithCore = {
     mapMarker: null,
     map: null,
     mapInitialized: false,
+    freeBusy: $H(),
     search: 'future',
     effectDur: 0.4,
     macos: navigator.appVersion.indexOf('Mac') !=- 1,
@@ -4704,7 +4705,6 @@ KronolithCore = {
         }
 
         /* Attendees */
-        this.freeBusy = $H();
         if (this.attendeeStartDateHandler) {
             $('kronolithEventStartDate').stopObserving('change', this.attendeeStartDateHandler);
         }