Results 1 to 6 of 6

Thread: Modal window over modal window

  1. #1

    Question Modal window over modal window


    I create a modal window and from this window I open another modal window.
    Unfortunatelly this second window is not modal in relation with the first one.

    Is there a custom setting for this?


  2. #2


    Sorry for posting this into open discussions, could please one of the admins move this to the "help" Forum.

  3. #3
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    The Netherlands


    This should work, as long as both windows belong to the same WindowGroup (by default all windows belong to the WindowMgr group).

  4. #4


    So, I'm still not able to make this run properly.

    Check the following code example, i also tried to specify the manager, but it didn't worked well.
    Any hints?

    Just throw this into a console where extjs is running:

    function openModalWindow(){
        var win = new Ext.Window({
                        plain: true,
                        modal: true,
                        html: "This is a test",
                        renderTo: document.body,
                        buttons: [{
                            text: 'Open new window',
                            handler: openModalWindow
    In real life, I have panels in a modal window from which I open another modal window.

    Thanks, Andrei.

  5. #5


    Any ideas?

  6. #6

    Default SOLVED!

    After more digging, the route of this problem was that I had defined this Javascript function:

    PHP Code:
    Array.prototype.remove = function ( obj ) {    this.splice(obj,1);}; 
    I hope this helps also others.
    Management means doing the things right,
    Leadership means doing the right things.

Similar Threads

  1. [CLOSED] Sample modal window in tutorials is not modal.
    By janusmccarthy in forum Ext 3.x: Bugs
    Replies: 2
    Last Post: 19 Apr 2010, 7:46 AM
  2. Configuring properties in a modal window (from another modal)
    By igocancun in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 25 Apr 2009, 1:23 PM
  3. [Solved]Message Box (modal) or Modal window - Bound to tabpanel??
    By EXT-Phuket in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 14 Apr 2009, 7:22 PM
  4. [FIXED] Modal window opening another modal window
    By bjagodzinski in forum Ext GWT: Bugs (1.x)
    Replies: 1
    Last Post: 13 Aug 2008, 11:13 AM
  5. Replies: 5
    Last Post: 23 Jul 2008, 8:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts