You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Gerolf Seitz (JIRA)" <ji...@apache.org> on 2007/09/25 21:30:52 UTC
[jira] Updated: (WICKET-1007) [PATCH] Javascript error in IE7 when
selecting a date
[ https://issues.apache.org/jira/browse/WICKET-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gerolf Seitz updated WICKET-1007:
---------------------------------
Assignee: Gerolf Seitz
> [PATCH] Javascript error in IE7 when selecting a date
> -----------------------------------------------------
>
> Key: WICKET-1007
> URL: https://issues.apache.org/jira/browse/WICKET-1007
> Project: Wicket
> Issue Type: Bug
> Components: wicket-datetime
> Affects Versions: 1.3.0-beta3
> Environment: IE7
> Reporter: David
> Assignee: Gerolf Seitz
>
> When selecting a date in IE7 I get a javascript error on line 227 in wicket-date.js. In this line there is the following check:
> if (typeof(field.onchange) != 'undefined' ) field.onchange();
> in IE7 this gives a warning due to field.onchange being null (which is user defined instead of undefined). Changing the check as follows solves this problem for me:
> if (typeof(field.onchange) != 'undefined' && field.onchange != null) field.onchange();
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.