Results 1 to 2 of 2

Thread: get an error when execute removeCls() for child #ext-fieldset component

    Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
  1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    56
    Vote Rating
    0
      0  

    Default get an error when execute removeCls() for child #ext-fieldset component

    Sencha version tested:
    • sencha-touch-2.0.1.1
    Description:
    • call container.destroy() that has a fieldset on it

    • get an error when execute removeCls() for child #ext-fieldset component (line 13147 in sencha-touch-all-debug.js)

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Vote Rating
    1271
      0  

    Default

    Can I get a testcase? This works for me:

    Code:
    var cnt = Ext.Viewport.add({
        xtype : 'container',
        items : [
            {
                xtype : 'fieldset',
                title : 'Action',
                items : [
                    {
                        xtype   : 'button',
                        text    : 'Remove',
                        ui      : 'decline',
                        handler : function() {
                            cnt.destroy();
                        }
                    }
                ]
            }
        ]
    });
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Posting Permissions

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