You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2011/02/14 20:05:57 UTC
[jira] Assigned: (WICKET-3444) ChangeHandler fires in IE on POS1
and END
[ https://issues.apache.org/jira/browse/WICKET-3444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov reassigned WICKET-3444:
---------------------------------------
Assignee: Martin Grigorov
> ChangeHandler fires in IE on POS1 and END
> -----------------------------------------
>
> Key: WICKET-3444
> URL: https://issues.apache.org/jira/browse/WICKET-3444
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4.15
> Environment: IE 8
> Reporter: count negative
> Assignee: Martin Grigorov
> Priority: Critical
> Labels: ajax
>
> In wicket-ajax.js the Wicket.ChangeHandler fires in IE an event on Textfields even if the KEY_POS1 and the KEY_END is pressed.
> Please add
> obj.onkeyup = function(event) {
> switch (wicketKeyCode(Wicket.fixEvent(event))) {
> case KEY_ENTER:
> case KEY_UP:
> case KEY_DOWN:
> case KEY_ESC:
> case KEY_TAB:
> case KEY_RIGHT:
> case KEY_LEFT:
> case KEY_SHIFT:
> case KEY_ALT:
> case KEY_CTRL:
> return Wicket.stopEvent(event);
> break;
> default:
> if (typeof objonchange == "function")objonchange();
> }
> return null;
> }
> case KEY_POS1 and KEY_END to the first case so that these two keys don't fall in the default case.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira