<div dir="ltr">Hello..<div><br></div><div>I've  just found it. In layouts/vlayout/modules/Calendar/resources/Edit.js </div><div><br></div><div><div><span class="" style="white-space:pre"> </span>registerBasicEvents : function(container) {</div><div><span class="" style="white-space:pre">                </span>this._super(container);</div><div><span class="" style="white-space:pre">            </span>this.registerActivityTypeChangeEvent(container);</div><div><span class="" style="white-space:pre">           </span>this.registerTimeStartChangeEvent(container);</div><div>        this.registerEndDateTimeChangeLogger(container);</div><div>        <b>//Required to set the end time based on the default ActivityType selected</b></div><div><b>         container.find('[name="activitytype"]').trigger('change');</b></div><div><span class="" style="white-space:pre">        </span>},</div></div><div><br></div><div>You do not need those bold line. There is only one activity default duration and no need to trigger the change event on document ready.</div><div><br></div><div>Regards,</div><div>Conrado</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 17, 2015 at 9:24 AM, Conrado Maggi <span dir="ltr"><<a href="mailto:comaggi@gmail.com" target="_blank">comaggi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I'm trying to pass a variable into the quick create form using headerInstance.handleQuickCreateData to set the event start / end dates according to some other values.</div><div><br></div><div>No matter what I do the Event end date is being override and set always to 5 min later than the start date.</div><div><br></div><div>Does anyone knows where  the end date is being force to be 5min later than the start date? (The 5 min are in the user profile, I need to find the javascript thats uses that value)</div><div><br></div><div>Thanks! </div></div>
</blockquote></div><br></div>