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 2015/07/28 12:52:04 UTC

[jira] [Commented] (WICKET-5956) OnChangeAjaxBeavior conflicting with autoNumeric.js plugin

    [ https://issues.apache.org/jira/browse/WICKET-5956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14644230#comment-14644230 ] 

Martin Grigorov commented on WICKET-5956:
-----------------------------------------

This is because autoNumeric stops the JS event propagation.
https://github.com/BobKnothe/autoNumeric/blob/679c0ffeade13d3fc132c852c9172548a9b4f51c/autoNumeric.js#L1000-L1001

> OnChangeAjaxBeavior conflicting with autoNumeric.js plugin
> ----------------------------------------------------------
>
>                 Key: WICKET-5956
>                 URL: https://issues.apache.org/jira/browse/WICKET-5956
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.20.0
>         Environment: Windows 7, Firefox 40, Wicket 6.20, autonumeric 1.39.9
>            Reporter: Robert Niestroj
>              Labels: behavior, changes, input, textfield
>         Attachments: mavenproject2.zip
>
>
> I have a problem with the OnChangeAjaxBehavior in conjunction with the autoNumeric.js (http://www.decorplanit.com/plugin/, https://github.com/BobKnothe/autoNumeric) plugin. The OnChangeAjaxBehavior is not reconigzing changes (onUpdate is not being called) in an TextField while typing when an autonumeric.js plugin is attached to it. It sees changes when i leave the TextField. 
> I will try to attach a quickstart.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)