如图,当我点击‘是’的时候,弹出的对话框却被窗口覆盖了,怎么才能让它在顶层呢?


我的js代码:
var win;
Ext.onReady(
function(){ Ext.onReady(function() {
win =Ext.create(*Ext.window.Window*, {
title : *这是我的第一个窗口*,
width : 200,
height : 200,
items: [],
modal: true,
buttonAlign: *center*,
buttons: [{
text: *测试*, id: *btnTest*, handler: function () {
Ext.Msg.show({
title: *询问*,
msg: *您喜欢 ExtJs 吗?*,
fn: processResult,
icon: Ext.Msg.QUESTION,
buttons: Ext.Msg.YESNO
});
}
}
]
});
win.show();
});}
);
function processResult(btn){
Ext.Msg.alert(*结果*,btn,function(){
}


我的js代码:
var win;
Ext.onReady(
function(){ Ext.onReady(function() {
win =Ext.create(*Ext.window.Window*, {
title : *这是我的第一个窗口*,
width : 200,
height : 200,
items: [],
modal: true,
buttonAlign: *center*,
buttons: [{
text: *测试*, id: *btnTest*, handler: function () {
Ext.Msg.show({
title: *询问*,
msg: *您喜欢 ExtJs 吗?*,
fn: processResult,
icon: Ext.Msg.QUESTION,
buttons: Ext.Msg.YESNO
});
}
}
]
});
win.show();
});}
);
function processResult(btn){
Ext.Msg.alert(*结果*,btn,function(){
}










