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 User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,060
    Vote Rating
    1389
      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
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    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
  •