{"action":"created","issue":{"url":"https://api.github.com/repos/ckfinder/ckfinder/issues/299","repository_url":"https://api.github.com/repos/ckfinder/ckfinder","labels_url":"https://api.github.com/repos/ckfinder/ckfinder/issues/299/labels{/name}","comments_url":"https://api.github.com/repos/ckfinder/ckfinder/issues/299/comments","events_url":"https://api.github.com/repos/ckfinder/ckfinder/issues/299/events","html_url":"https://github.com/ckfinder/ckfinder/issues/299","id":170854980,"number":299,"title":"CKFinder not compatible with jQuery 3.x","user":{"login":"Synchro","id":81561,"avatar_url":"https://avatars.githubusercontent.com/u/81561?v=3","gravatar_id":"","url":"https://api.github.com/users/Synchro","html_url":"https://github.com/Synchro","followers_url":"https://api.github.com/users/Synchro/followers","following_url":"https://api.github.com/users/Synchro/following{/other_user}","gists_url":"https://api.github.com/users/Synchro/gists{/gist_id}","starred_url":"https://api.github.com/users/Synchro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Synchro/subscriptions","organizations_url":"https://api.github.com/users/Synchro/orgs","repos_url":"https://api.github.com/users/Synchro/repos","events_url":"https://api.github.com/users/Synchro/events{/privacy}","received_events_url":"https://api.github.com/users/Synchro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-12T11:50:46Z","updated_at":"2016-08-12T13:05:51Z","closed_at":null,"body":"It appears that CKFinder 3.3 (for PHP) is not compatible with jQuery 3.0 or 3.1. Whenever I try to load CKFinder with either of those versions, I get these two errors and CKFinder does not load:\r\n\r\n```\r\n[Error] TypeError: undefined is not an object (evaluating 'a.event.props.concat')\r\n    (anonymous function) (jquery.mobile.js:4:5781)\r\n    (anonymous function) (jquery.mobile.js:4:6334)\r\n    (anonymous function) (jquery.mobile.js:3:115)\r\n    global code (jquery.mobile.js:3:130)\r\n[Error] TypeError: undefined is not an object (evaluating 't.event.special.swipe.start')\r\ninit — ckfinder.js:3373\r\n(anonymous function) — ckfinder.js:14863:116\r\nexecCb — ckfinder.js:715\r\ncheck — ckfinder.js:510\r\nenable — ckfinder.js:589\r\ninit — ckfinder.js:482:172\r\n(anonymous function) — ckfinder.js:648:99\r\n\r\n    check (ckfinder.js:5:21940)\r\n    enable (ckfinder.js:5:24481)\r\n    init (ckfinder.js:5:20742)\r\n    (anonymous function) (ckfinder.js:5:26286)\r\n```\r\n\r\nIf I revert to jQuery 1.12.3 (with no other changes), it works fine.\r\n\r\nOne of the errors occurs within jQuery mobile, so it could be a problem inside that, however, that is the latest version (1.4.5) and I've not found any reports about incompatibilities between jQuery mobile and jQuery 3. I also tried using th jQuery migrate plugin, but that did not help.\r\n\r\nI can work around the problem by telling CKFinder to use jQuery 1.12 while the page it's embedded in uses 3.1, however, it's obviously not ideal to have to load two copies of jQuery."},"comment":{"url":"https://api.github.com/repos/ckfinder/ckfinder/issues/comments/239440766","html_url":"https://github.com/ckfinder/ckfinder/issues/299#issuecomment-239440766","issue_url":"https://api.github.com/repos/ckfinder/ckfinder/issues/299","id":239440766,"user":{"login":"vokiel","id":422571,"avatar_url":"https://avatars.githubusercontent.com/u/422571?v=3","gravatar_id":"","url":"https://api.github.com/users/vokiel","html_url":"https://github.com/vokiel","followers_url":"https://api.github.com/users/vokiel/followers","following_url":"https://api.github.com/users/vokiel/following{/other_user}","gists_url":"https://api.github.com/users/vokiel/gists{/gist_id}","starred_url":"https://api.github.com/users/vokiel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vokiel/subscriptions","organizations_url":"https://api.github.com/users/vokiel/orgs","repos_url":"https://api.github.com/users/vokiel/repos","events_url":"https://api.github.com/users/vokiel/events{/privacy}","received_events_url":"https://api.github.com/users/vokiel/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T13:05:51Z","updated_at":"2016-08-12T13:05:51Z","body":"Latest jQuery Mobile Framework v1.4.5 was released on 31 Oct 2014. Before jQuery 2.2 which is not supported https://github.com/jquery/jquery-mobile/issues/8381. Also before before any jQuery 3.x releases: 3.0 - released on June 9, 2016, 3.1 - released on July 7, 2016.\r\n\r\nAs the docs stands:\r\n> jQuery Mobile 1.4.x works with versions of jQuery core from 1.8.3 to 1.11.1 / 2.1.1.\r\n\r\nSo, until JQM isn't compatible with jQuery 3.x itself, CKFinder won't work with it neither."}}
{"actor":{"display_login":"vokiel"}}