PDA

View Full Version : How to get a "modal" Ext.Msg.show('Title', 'but1'); ?



user14
28 Apr 2012, 2:33 AM
This code will not show 2 modal msg boxes, it will show only one.

Ext.onReady(function(){
Ext.Msg.show('Title', 'but1');

Ext.Msg.show('Title', 'but2');
});
Is there any way to get modal msg box ?
I mean one box appears one after one ?

mitchellsimoens
30 Apr 2012, 12:43 PM
Ext.Msg is a single component. If you want multiple then you can create multiple instances of Ext.window.MessageBox