【发布时间】:2013-04-07 21:28:51
【问题描述】:
我有一个像这样的窗口类:
myWindow = Ext.extend(WindowAddItemUi, {
initComponent: function() {
WindowAddComponentPublic.superclass.initComponent.call(this);
},
close : function() {
this.superclass().close(); //not working
myWindow.superclass().close(); //also not working
}
});
我正在尝试覆盖一个窗口的close方法,并调用该窗口的超方法close,但是好像不起作用。
有谁知道如何正确调用它?
【问题讨论】:
标签: extjs superclass