PDA

View Full Version : ext.msg problem



pachama
7 Aug 2009, 4:42 AM
it seems to have a problem with the Ext.msg,XXX popup.

I reproduce it in the Desktop Samples by adding an handler in the tbar of the Grid window:
as follow (and sample.js of desktop sample in attached file):


tbar:[{

text:'Add Something',

tooltip:'Add a new row',

iconCls:'add'

}, '-', {

text:'Options',

tooltip:'Blah blah blah blaht',

iconCls:'option'

},'-',{

text:'Remove Something',

tooltip:'Remove the selected item',

iconCls:'remove',
handler:function(){
Ext.Msg.show({
title:"info",
msg: "Remove Something",
buttons: Ext.Msg.OK

});
}

If only grid windows is open, the messageBox appearing on "remove something" click is foregroung, and stay foreground even you type on the grid window.

Now if "accordion window" is open , clicking on "remove something" on tber grid window make message box appear behind the grid window. and stay behind even you tried to drag it over grid window