{"action":"created","issue":{"url":"https://api.github.com/repos/capacity4dev/capacity4more/issues/710","labels_url":"https://api.github.com/repos/capacity4dev/capacity4more/issues/710/labels{/name}","comments_url":"https://api.github.com/repos/capacity4dev/capacity4more/issues/710/comments","events_url":"https://api.github.com/repos/capacity4dev/capacity4more/issues/710/events","html_url":"https://github.com/capacity4dev/capacity4more/pull/710","id":73914920,"number":710,"title":"CFD-472 : cannot upload document from the library to attach to another content","user":{"login":"solker","id":10127295,"avatar_url":"https://avatars.githubusercontent.com/u/10127295?v=3","gravatar_id":"","url":"https://api.github.com/users/solker","html_url":"https://github.com/solker","followers_url":"https://api.github.com/users/solker/followers","following_url":"https://api.github.com/users/solker/following{/other_user}","gists_url":"https://api.github.com/users/solker/gists{/gist_id}","starred_url":"https://api.github.com/users/solker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solker/subscriptions","organizations_url":"https://api.github.com/users/solker/orgs","repos_url":"https://api.github.com/users/solker/repos","events_url":"https://api.github.com/users/solker/events{/privacy}","received_events_url":"https://api.github.com/users/solker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"HelenaEksler","id":8306902,"avatar_url":"https://avatars.githubusercontent.com/u/8306902?v=3","gravatar_id":"","url":"https://api.github.com/users/HelenaEksler","html_url":"https://github.com/HelenaEksler","followers_url":"https://api.github.com/users/HelenaEksler/followers","following_url":"https://api.github.com/users/HelenaEksler/following{/other_user}","gists_url":"https://api.github.com/users/HelenaEksler/gists{/gist_id}","starred_url":"https://api.github.com/users/HelenaEksler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HelenaEksler/subscriptions","organizations_url":"https://api.github.com/users/HelenaEksler/orgs","repos_url":"https://api.github.com/users/HelenaEksler/repos","events_url":"https://api.github.com/users/HelenaEksler/events{/privacy}","received_events_url":"https://api.github.com/users/HelenaEksler/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-05-07T09:27:15Z","updated_at":"2015-05-11T14:52:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/capacity4dev/capacity4more/pulls/710","html_url":"https://github.com/capacity4dev/capacity4more/pull/710","diff_url":"https://github.com/capacity4dev/capacity4more/pull/710.diff","patch_url":"https://github.com/capacity4dev/capacity4more/pull/710.patch"},"body":"https://issuetracker.amplexor.com/jira/browse/CFD-472\r\n\r\nPermissions fixed in #660 \r\n"},"comment":{"url":"https://api.github.com/repos/capacity4dev/capacity4more/issues/comments/100933403","html_url":"https://github.com/capacity4dev/capacity4more/pull/710#issuecomment-100933403","issue_url":"https://api.github.com/repos/capacity4dev/capacity4more/issues/710","id":100933403,"user":{"login":"HelenaEksler","id":8306902,"avatar_url":"https://avatars.githubusercontent.com/u/8306902?v=3","gravatar_id":"","url":"https://api.github.com/users/HelenaEksler","html_url":"https://github.com/HelenaEksler","followers_url":"https://api.github.com/users/HelenaEksler/followers","following_url":"https://api.github.com/users/HelenaEksler/following{/other_user}","gists_url":"https://api.github.com/users/HelenaEksler/gists{/gist_id}","starred_url":"https://api.github.com/users/HelenaEksler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HelenaEksler/subscriptions","organizations_url":"https://api.github.com/users/HelenaEksler/orgs","repos_url":"https://api.github.com/users/HelenaEksler/repos","events_url":"https://api.github.com/users/HelenaEksler/events{/privacy}","received_events_url":"https://api.github.com/users/HelenaEksler/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T14:52:27Z","updated_at":"2015-05-11T14:52:27Z","body":"@zero2one @MPParsley \r\n\r\nI've found out, that the bug is caused by JQuery. Also I've found the solution.\r\nWe should put this code in the begginning of the ``Sizzle`` function inside ``/capacity4more/modules/contrib/jquery_update/replace/jquery/1.10/jquery.js`` file. \r\n```php\r\n    try{\r\n      document === document; //may cause permission denied\r\n    }\r\n    catch(err){\r\n      document = window.document; //resets document, and no more permission denied errors.\r\n    }\r\n```\r\n\r\nIt seems that the problem is solved in the 2.0.3 version http://bugs.jquery.com/ticket/14535\r\nSo, how do you think, what is the best solution - try to override this object (actually it is the jQuery.find function) or try to use later version of the jQuery."}}