Do not create recurring events that are longer than the interval
[tine20] / tine20 / Calendar / js / EventEditDialog.js
index 1dde516..88f2300 100644 (file)
@@ -345,7 +345,9 @@ Tine.Calendar.EventEditDialog = Ext.extend(Tine.widgets.dialog.EditDialog, {
         
         this.on('render', function() {this.getForm().add(organizerCombo);}, this);
         
         
         this.on('render', function() {this.getForm().add(organizerCombo);}, this);
         
-        this.rrulePanel = new Tine.Calendar.RrulePanel({});
+        this.rrulePanel = new Tine.Calendar.RrulePanel({
+            eventEditDialog : this
+        });
         this.alarmPanel = new Tine.widgets.dialog.AlarmPanel({});
         this.attendeeStore = this.attendeeGridPanel.getStore();
         
         this.alarmPanel = new Tine.widgets.dialog.AlarmPanel({});
         this.attendeeStore = this.attendeeGridPanel.getStore();