You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/07/24 18:52:20 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15391145#comment-15391145 ]
ASF subversion and git services commented on WICKET-6108:
---------------------------------------------------------
Commit e79fcb8787187108e8a16b2ae9ababecfcc76cf2 in wicket's branch refs/heads/master from [~svenmeier]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=e79fcb8 ]
WICKET-6108 revert Event.fix(): passed event should always be fixed
> 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)