<div dir="ltr">Alan,<div><br></div><div>Try this...</div><div><br></div><div>I assume you have defined javascript class for the view of your module (<a href="http://community.vtiger.com/help/vtigercrm/developers/extensions/examples/world-clock-v1.html#step-7-view-javascript">example</a>). Once the page is ready, framework invokes registerEvents function to let you further customize the page.</div><div><br></div><div>Get hold of the element and override the formatting.</div><div><font face="courier new, monospace">jQuery('#ElementId').timepicker('option', {'step': 15});</font></div><div><br></div><div>Regards,</div><div>Prasad</div></div><div class="gmail_extra"><br clear="all"><div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><b>Connect with us on: </b><a href="http://twitter.com/vtigercrm" style="color:rgb(0,0,204)" target="_blank">Twitter</a> <b>I</b> <a href="http://www.facebook.com/pages/vtiger/226866697333578?sk=wall" style="color:rgb(0,0,204)" target="_blank">Facebook</a> <b>I</b> <a href="https://blogs.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Blog</a><b> I</b> <a href="http://wiki.vtiger.com/index.php/Main_Page" style="color:rgb(0,0,204)" target="_blank">Wiki</a> <b>I </b><a href="https://discussions.vtiger.com" style="color:rgb(0,0,204)" target="_blank">Forums </a><b>I</b> <a href="https://www.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Website</a></span></div>
<br><div class="gmail_quote">On Thu, Oct 9, 2014 at 6:50 PM, Alan Lord <span dir="ltr"><<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">For a specific custom module I want the timepicker widget to show the time in 15min increments.<br>
<br>
In resources/app.js I can do:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                var defaultsTimePickerParams = {<br>
                        'timeFormat' : timeFormat,<br>
                        'step'       : '15',<br>
                        'className'  : 'timePicker'<br>
                };<br>
</blockquote>
<br>
But this will affect all Time Picker elements.<br>
<br>
What's the right way to change this for my module?<br>
<br>
Thanks<br>
<br>
Al<br>
<br>
______________________________<u></u>_________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br></div>