Results 1 to 6 of 6

Thread: Modal window over modal window

  1. #1

    Question Modal window over modal window

    Hi,

    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?

    Regards,
    Andrei.

  2. #2

    Default

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

  3. #3
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,245

    Default

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

  4. #4

    Default

    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:

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

    Thanks, Andrei.

  5. #5

    Default

    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.
    www.interpid.eu

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
  •