Internet explorer 关闭a";外部窗口窗口“;在InternetExplorer 9中
我有一个用ExtJS4创建的自定义窗口,我发现使用InternetExplorer9关闭它有些困难。我试图用窗口右上角的x按钮关闭窗口,但大多数情况下都不起作用。它在chrome和firefox中运行良好。 代码如下:Internet explorer 关闭a";外部窗口窗口“;在InternetExplorer 9中,internet-explorer,extjs,internet-explorer-9,Internet Explorer,Extjs,Internet Explorer 9,我有一个用ExtJS4创建的自定义窗口,我发现使用InternetExplorer9关闭它有些困难。我试图用窗口右上角的x按钮关闭窗口,但大多数情况下都不起作用。它在chrome和firefox中运行良好。 代码如下: Ext.define('Mainstay.view.import.Window', { extend: 'Ext.window.Window', alias : 'widget.importWindow', title: 'Import Records',
Ext.define('Mainstay.view.import.Window', {
extend: 'Ext.window.Window',
alias : 'widget.importWindow',
title: 'Import Records',
layout:'fit',
height: 590,
width: 900,
modal: true,
autoload: true,
initComponent: function(){
this.callParent(arguments);
}
});
听起来像是一个bug,你应该向Sencha报告,并提及你的extjs版本。我已经在ie9上测试了你的代码,使用了4.0.7和4.1.2,每次窗口都会关闭。你能安装firebug light,看看是否有错误吗?