<div dir="ltr">Hi,<div><br></div><div>For the above given screen-shot of edit-view, we can see input element value in developer tool is different from what we can see in UI, I was not able to reproduce this either in local instance or <a href="http://demo.vtiger.com">demo.vtiger.com</a>.</div><div><br></div><div>Hope, your api in java-script is over-writing the value before form submit. Can you provide clarification for this.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 17, 2015 at 6:28 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 Uma,<div><br></div><div>What I'm doing is extending the calendar to pass start/end times. Essentially select an slot of time instead of 5min. Its working fine with the standard javascript and the quick create but something is overrating the values I set. </div><div><br></div><div>Take a look at the attached image</div><div><br></div><div><img src="cid:ii_i69ale5x0_14b979a2f302c8b2" width="523" height="310" style="margin-right:0px"></div><div><br></div><div>I'm using this callback to set the time:  jQuery('[name="time_end"]').timepicker('setTime',endDateInstance);  </div><div><br></div><div><br></div><div><br>​<br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Feb 17, 2015 at 10:26 AM, Uma S <span dir="ltr"><<a href="mailto:uma.s@vtiger.com" target="_blank">uma.s@vtiger.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><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"><div><div>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></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><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><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>
</div></div><br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><span><font color="#888888"><br></font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">With<br>Best Regards<br>Uma.S<br><div>Vtiger Team</div></div></div>
</font></span></div>
<br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></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>