[ 
https://issues.apache.org/jira/browse/WICKET-6108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Grigorov reassigned WICKET-6108:
---------------------------------------

    Assignee: Martin Grigorov

> Closing a ModalWindow with jQuery 2.2.0 produces javascript errors
> ------------------------------------------------------------------
>
>                 Key: WICKET-6108
>                 URL: https://issues.apache.org/jira/browse/WICKET-6108
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 6.22.0
>            Reporter: Alex Grant
>            Assignee: Martin Grigorov
>         Attachments: modal.zip
>
>
> I am using DynamicJQueryResourceReference, which in 6.22.0 uses jQuery 2.2.0 
> on modern browsers. After attempting to upgrade to 6.22.0 I discovered if I 
> try to close a ModalWindow (using ModalWindow.close(AjaxRequestTarget) ) I 
> receive a javascript error in the browser
> In Chrome the error is
> Uncaught TypeError: e.stopPropagation is not a function
> jQuery.Event.stopPropagation @ jquery-2.2.0-ver-1456879150165.js:5020
> jQuery.extend.Event.stop @ wicket-event-jquery-ver-1456879150165.js:193
> jQuery.extend.Ajax._handleEventCancelation @ 
> wicket-ajax-jquery-ver-1456879150165.js:1941
> (anonymous function) @ wicket-ajax-jquery-ver-1456879150165.js:1995
> fire @ jquery-2.2.0-ver-1456879150165.js:3182
> self.add @ jquery-2.2.0-ver-1456879150165.js:3241
> jQuery.fn.ready @ jquery-2.2.0-ver-1456879150165.js:3491
> jQuery.fn.init @ jquery-2.2.0-ver-1456879150165.js:2922
> jQuery @ jquery-2.2.0-ver-1456879150165.js:75
> jQuery.extend.Event.add @ wicket-event-jquery-ver-1456879150165.js:228
> (anonymous function) @ wicket-ajax-jquery-ver-1456879150165.js:1972
> jQuery.extend.each @ jquery-2.2.0-ver-1456879150165.js:360
> jQuery.extend.Ajax.ajax @ wicket-ajax-jquery-ver-1456879150165.js:1971
> settings.onClose @ VM284:13Wicket.Window.close @ 
> modal-ver-1456880110679.js:842
> (anonymous function) @ VM287:14



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

Reply via email to