在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; } } })