Use default calendar in quick event form.
authorJan Schneider <jan@horde.org>
Mon, 7 Jun 2010 17:09:28 +0000 (19:09 +0200)
committerJan Schneider <jan@horde.org>
Mon, 7 Jun 2010 17:55:51 +0000 (19:55 +0200)
kronolith/js/kronolith.js

index 1a3f5bc..ce557a2 100644 (file)
@@ -3674,6 +3674,7 @@ KronolithCore = {
 
             case 'kronolithQuickEvent':
                 this.updateCalendarDropDown('kronolithQuickinsertCalendars');
+                $('kronolithQuickinsertCalendars').setValue(Kronolith.conf.default_calendar);
                 $('kronolithQuickinsert').appear({
                     duration: this.effectDur,
                     afterFinish: function() {