Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

baidu.event._unload bug #25

Open
cnberg opened this issue Dec 27, 2010 · 2 comments
Open

baidu.event._unload bug #25

cnberg opened this issue Dec 27, 2010 · 2 comments

Comments

@cnberg
Copy link
Collaborator

cnberg commented Dec 27, 2010

我用baidu.on给一个iframe的contentWindow对象添加onload监听,如果在运行期,iframe页面跳转了,会导致原来绑定的contentWindow对象引用被移除,这导致在baidu.event._unload运行的时候,取出来的之前绑定过的元素为null,在页面卸载时要移除所有事件监听会报错。

@cnberg
Copy link
Collaborator Author

cnberg commented Dec 27, 2010

本issue来自云龙同学。

@rocy
Copy link
Contributor

rocy commented Jan 19, 2011

fix in 1.3.4.
by cnberg

mboo2005 pushed a commit to mboo2005/Tangram-base that referenced this issue May 31, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants