`
1000
  • 浏览: 27359 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Permission denied to access property 'dom' from a non-chrome context

    博客分类:
  • AJAX
阅读更多

在ff下会出现Permission denied to access property 'dom' from a non-chrome context的报错。

大多数都说是ff的bug造成的。去官方查资料有解决办法。

Ext.override(Ext.Element,{
	contains : function(el){
		try {
			return !el ? false : Ext.lib.Dom.isAncestor(this.dom, el.dom ? el.dom : el);
		} catch(e) {
			return false;
		}
	}
})

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics