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 2016/03/02 17:34:18 UTC

[jira] [Resolved] (WICKET-6108) Closing a ModalWindow with jQuery 2.2.0 produces javascript errors

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

Martin Grigorov resolved WICKET-6108.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 6.23.0
                   8.0.0-M1
                   7.3.0

Thanks for reporting!

> 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
>             Fix For: 7.3.0, 8.0.0-M1, 6.23.0
>
>         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)