<div dir="ltr">Hi,<div><br></div><div>Activity type is of 3 like Call, Meeting and Mobile Call. So it's depending on that value. Can you please let what is test-case scenario your facing the problem.</div><div><br></div><div>Because if you edit end-time value to any other it will save the value, if not specified then by default will take up 5 mins duration.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 17, 2015 at 2:22 PM, 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've  just found it. In layouts/vlayout/modules/Calendar/resources/Edit.js </div><div><br></div><div><div><span style="white-space:pre-wrap">   </span>registerBasicEvents : function(container) {</div><div><span style="white-space:pre-wrap">              </span>this._super(container);</div><div><span style="white-space:pre-wrap">          </span>this.registerActivityTypeChangeEvent(container);</div><div><span style="white-space:pre-wrap">         </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 style="white-space:pre-wrap">      </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="HOEnZb"><div class="h5"><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>
</div></div><br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">With<br>Best Regards<br>Uma.S<br><div>Vtiger Team</div></div></div>
</div>