[OGo-Developer] Re: Appointment Type dropdown
Jeff
developer@opengroupware.org
Thu, 13 Mar 2008 12:34:42 -0400
------=_Part_15827_10017053.1205426082880
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
I think I found a way to do it, but just wanted to check to make sure this
would be reliable:
If I get the text at the end of the URL for the form action, and append
".2.1.1.12.1.0.1" to it, that appears to be the appointment type dropdown.
Is that something that could change though? Or is there a better method
than what I'm proposing?
Thanks!
Jeff
On Thu, Mar 13, 2008 at 12:22 PM, Jeff <jhedlund+ogo@gmail.com> wrote:
>
> Is there a reliable way to identify the appointment type dropdown in the
> Appointment Editor?
>
> I want to just add a real quick check in the LSWAppointmentEditor.jsvalidateEditorContent() routine to throw an error if the selection is = 0
> (none).
>
> But the name changes with each load - but is there some way I can build
> the name of the dropdown in validateEditorContent?
>
> Thanks,
> Jeff
>
>
------=_Part_15827_10017053.1205426082880
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
<br>I think I found a way to do it, but just wanted to check to make sure this would be reliable:<br><br>If I get the text at the end of the URL for the form action, and append ".2.1.1.12.1.0.1" to it, that appears to be the appointment type dropdown.<br>
<br>Is that something that could change though? Or is there a better method than what I'm proposing?<br><br>Thanks!<br>Jeff<br><br><div class="gmail_quote">On Thu, Mar 13, 2008 at 12:22 PM, Jeff <<a href="mailto:jhedlund+ogo@gmail.com">jhedlund+ogo@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Is there a reliable way to identify the appointment type dropdown in the Appointment Editor?<br>
<br>I want to just add a real quick check in the LSWAppointmentEditor.js validateEditorContent() routine to throw an error if the selection is = 0 (none).<br>
<br>But the name changes with each load - but is there some way I can build the name of the dropdown in validateEditorContent?<br><br>Thanks,<br><font color="#888888">Jeff<br><br>
</font></blockquote></div><br>
------=_Part_15827_10017053.1205426082880--