Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/extjs/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Internet explorer 关闭a";外部窗口窗口“;在InternetExplorer 9中_Internet Explorer_Extjs_Internet Explorer 9 - Fatal编程技术网

Internet explorer 关闭a";外部窗口窗口“;在InternetExplorer 9中

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',

我有一个用ExtJS4创建的自定义窗口,我发现使用InternetExplorer9关闭它有些困难。我试图用窗口右上角的x按钮关闭窗口,但大多数情况下都不起作用。它在chrome和firefox中运行良好。 代码如下:

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,看看是否有错误吗?