-
5 Dec 2012 6:19 AM #1
Ext.Msg.alert inside a Ext.Msg.prompt launched from a modal window causes a ZIndex pb
Ext.Msg.alert inside a Ext.Msg.prompt launched from a modal window causes a ZIndex pb
Ext version tested:
- Ext 4.1.3 rev 125
- Chrome 23.0.1271.95 m
- Maybe in all others..
- From a modal window, if you use a Ext.Msg.prompt and in the callback you use a Ext.Msg.alert, the alert is displayed behind all others windows
- Create a simple modal window with a button
- When the button is clicked, prompt a message and in the callback display an alert...
- The alert should be displayed above all others windows
- The alert is displayed behind all others windows
Code:Ext.create('Ext.window.Window', { modal: true, title: 'This is a simple modal window...', items: [ { xtype: 'button', text: 'Click Me', listeners: { click: function (b){ Ext.Msg.prompt('Name', 'Please enter your name:', function(btn, text){ if (btn == 'ok'){ // process text value and close... Ext.Msg.alert('This is my alert', 'Why this alert is displayed behind all others ???'); } }); } } } ] }).show();
HELPFUL INFORMATION
Screenshot or Video:
Bug.png
Additional CSS used:- only default ext-all.css
- Win7 x64
-
5 Dec 2012 11:55 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,107
- Vote Rating
- 453
Thanks for the report! I have opened a bug in our bug tracker.
Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJSIV-7917
in
4.2.


Reply With Quote