You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@click.apache.org by "Bob Schellink (JIRA)" <ji...@apache.org> on 2009/07/09 22:04:14 UTC

[jira] Commented: (CLK-567) FrozenNumberField on IE6

    [ https://issues.apache.org/jira/browse/CLK-567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12729397#action_12729397 ] 

Bob Schellink commented on CLK-567:
-----------------------------------

Thanks Chris, I can reproduce the error now.

Here is the gist. When the calendar is shown, it blocks all keyboard input. When the popup is hidden, the keyboard input is activated again. When we fixed the memory leak, by invoking calendar.destroy() instead of calendar.hide(), the keyboard input is left in a blocked state. To fix this I've changed the calendar close behavior by invoking calendar.hide() followed by calendar.destroy().

Chris can you patch your version of DateField and check if this resolves the issue for you. Basically replace the last line of DateField HTML_IMPORTS with:

+ "<script type=\"text/javascript\">addLoadEvent( function() '{'Calendar.setup('{' inputField : ''{3}'', ifFormat : ''{4}'', showsTime : {5}, button : ''{3}-button'', align : ''cr'', singleClick : true, firstDay : {6}, onClose : function onClose(cal) '{'cal.hide(); cal.destroy();'}' '}');'}');</script>\n";

Can you check that this resolves the issue for you.

When I tested with IE, everything seemed to work. However this bug seems to affect all versions of IE.

I think this is serious enough to release 1.5.3 over the weekend.



> FrozenNumberField on IE6
> ------------------------
>
>                 Key: CLK-567
>                 URL: https://issues.apache.org/jira/browse/CLK-567
>             Project: Click
>          Issue Type: Bug
>    Affects Versions: 1.5.2
>            Reporter: Christophe FOIRET
>            Priority: Blocker
>         Attachments: FrozenNumberField.zip
>
>
> Hi,
> This error appears on IE6 browser and under Click 1.5.2
> I build a form with a required DateField and a required NumberField.
> I can fill a value in the NumberField at the launch of the form, but if i call 
> the mini calendar which fills the DateField, the NumberField is frozen (like 
> Readonly attribute) and i can't continue ...
> Find attached the zip file example.
> Thank you in advance for your answer

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.