Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member
    Join Date
    Mar 2008
    Location
    Philadelphia, PA
    Posts
    131
    Vote Rating
    0
    mprice is on a distinguished road

      0  

    Exclamation [FIXED-511][3.1] Closing a tab with menu open causes dom error

    [FIXED-511][3.1] Closing a tab with menu open causes dom error


    If a closable tab contains a tbar with a menu, and the menu is open, and then the tab is closed, a demo error is thrown. You can reproduce by adding the highlighted code below to the advanced tabs sample. This issue did not occur in 3.0, and still appears to be an issue in the 3.1.1 beta.

    Code:
    /*!
     * Ext JS Library 3.1.0
     * Copyright(c) 2006-2009 Ext JS, LLC
     * licensing@extjs.com
     * http://www.extjs.com/license
     */
    Ext.onReady(function(){
    
        var tabs = new Ext.TabPanel({
            renderTo:'tabs',
            resizeTabs:true, // turn on tab resizing
            minTabWidth: 115,
            tabWidth:135,
            enableTabScroll:true,
            width:600,
            height:250,
            defaults: {autoScroll:true},
            plugins: new Ext.ux.TabCloseMenu()
        });
    
        // tab generation code
        var index = 0;
        while(index < 7){
            addTab();
        }
        function addTab(){
            tabs.add({
                title: 'New Tab ' + (++index),
                iconCls: 'tabs',
                html: 'Tab Body ' + (index) + '<br/><br/>'
                        + Ext.example.bogusMarkup,
                closable:true,
                tbar: [{
                    text: 'test',
                    menu: [{text: 'test'}]
                }]
            }).show();
        }
    
        new Ext.Button({
            text: 'Add Tab',
            handler: addTab,
            iconCls:'new-tab'
        }).render(document.body, 'tabs');
    });
    Open the menu inside any of the tabs, and then attempt to close that tab with the menu still open. The following error is received. I get this error in IE 8 and FF 3.6, but not in Chrome 5.0.

    Message: 'dom' is null or not an object
    Line: 7
    Char: 46976
    Code: 0
    URI: http://asnb0092/testing/EXTJS311/ext-all.js

    See this jing for a recording of the issue:

    http://screencast.com/t/NzU2MTYxYz

  2. #2
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    19
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Dupe of issue 438, fixed in svn 5928 for release in 3.1.1.

  3. #3
    Sencha Premium Member
    Join Date
    Mar 2008
    Location
    Philadelphia, PA
    Posts
    131
    Vote Rating
    0
    mprice is on a distinguished road

      0  

    Default


    I pulled down latest from SVN and retested, and the error no longer occurs. However, now I get an error when opening the menu on the next tab after closing the first tab. This only happens if I close the first tab with the menu open. Here is a recording of the new error:

    http://screencast.com/t/NGNiNmM1Y

  4. #4
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    19
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Fixed in svn 5974 for release with 3.1.1

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar