1. #1
    Ext JS Premium Member
    Join Date
    Jan 2008
    Posts
    378
    Vote Rating
    2
    silcreval is on a distinguished road

      0  

    Default [4.1 RC2] Warning when I close a window

    [4.1 RC2] Warning when I close a window


    I'm getting the following in the console when I close a window

    "Attempted to remove a component that does not exist. Ext.container.Container: remove takes an argument of the component to remove. cmp.remove() is incorrect usage."

    This doesnt appear in ExtJS 4.0.7.

    This is a standard Ext.window.Window, containing a form. When you click on the 'OK' button, the window is closed with

    Code:
    this.close();
    which is when I get the error.

  2. #2
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,605
    Vote Rating
    326
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      0  

    Default


    I tried to reproduce this but couldn't. Are you able to provide a test case? At a guess I'd say one of the containers in your window isn't destroying itself correctly but it's a little difficult to isolate the problem without an example.

Thread Participants: 1