Hello Elpidio

I tried to follow the indication of the file class_input_person.php, but it
happens that this file does not exist but yes "class_gui_input_person.php".
I am certain or not?



-----Mensagem original-----
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Em nome de Elpidio
Latorilla
Enviada: domingo, 21 de Novembro de 2004 11:38
Para: [EMAIL PROTECTED]
Assunto: Re: [Care2002-developers] is this a bug?

Hello Jorge and Dr. Potur,

yes, this is a bug. I found the bug at the following file:

/include/care_api_classes/class_input_person.php

Please open this file and find the following code at line #625 :

<a href= 
"javascript:show_calendar(\'aufnahmeform.date_birth\',\''.$date_format.'\')"
>

Please remove the space between the single quote and the \ symbol at the
$date_format.' \')  part. This will solve the problem. I will also upload
the 
patched file at the cvs soon.

To those curious about this bug, the space mentioned above "adds" an empty 
character to the date format being passed to the javascript. This falsifies 
the string and the javascript filter code does not recognize the string 
anymore and produces the default format always.

Thanks for bug reporting.

Elpidio

On Saturday 20 November 2004 15:54, Jorge Santos wrote:
> Hello Elpidio
>
> The same it happened with me.  If you serve of the pop up calendar, the
> entered date "only result" if the selection will be in the format
> mm/dd/yyyy. Seems to be one bug but with solution.



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Care2002-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/care2002-developers





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Care2002-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/care2002-developers

Reply via email to