Unsafe JavaScript attempt to access frame, when try to upload file with ajax

痞子三分冷 提交于 2019-12-04 19:32:20

I had the same problem and I fix it editing the ajaxupload library, with this commit:

https://github.com/felipelalli/ajax-upload/commit/9307f5eb6ded1ec63eac828a7ef4b8187acb9617

I already sent a pull request to the author.

I had this problem when I was using the sandbox developer environment (opensocial for Orkut). I just check now if "doc" is undefined. The upload works fine, but the callback now has no answer (the answer is undefined).

I don't know exactly what is the cause, but I think it is some kind of limitation of the dev environment.

If you want to download the fix, please check it out: https://github.com/felipelalli/ajax-upload/commits/3.9.1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!