Results 1 to 3 of 3

Thread: Tree Scroll Error

  1. #1

    Default Tree Scroll Error

    Hi All, I have a tree that works just fine - until you try to use the auto scrollbar (error occurs as soon as you roll over the vert. scrollbar). I get theis error in firebug:

    "Permission denied to...a non-chrome context"

    My tree:

    Code:
    var treeLoader = new Ext.tree.TreeLoader({
        dataUrl:'CFC/ProjectTree.cfc',
        baseParams: {
            method: 'getProjectTree'
        }
    });
    
    var rootNode = new Ext.tree.AsyncTreeNode({
        text: 'root',
        iconCls: 'icon-grid'
    });
    
    var projectTree = new Ext.tree.TreePanel({
        title: 'Project Navigation',
        loader: treeLoader,
        root: rootNode,
        iconCls: 'nav',
        rootVisible: false,
        autoScroll: true,
        useArrows: true,
        height: 400
    });
    ...and it's in an accordian within a viewport:

    Code:
       //main viewport wrapper
        var viewport = new Ext.Viewport({
            layout: 'border',
            //items in viweport
            items: [        //the header area
            new Ext.BoxComponent({
                region: 'north',
                height: 40,
                autoEl: {
                    tag: 'div',
                    html: '<div class="headerTitle">xxx Engineering Budget System</div>'
                }
            }),//the left navigation area
            {        
                region: 'west',
                id: 'west-panel',
                title: 'Menu',
                split: true,
                width: 200,
                minSize: 175,
                maxSize: 400,
                collapsible: true,
                margins: '0 0 0 5',
                layout: {
                    type: 'accordion',
                    animate: true
                },
                items: [ 
                    projectTree,
                    {
                        title: 'Settings',
                        html: '<p>Some settings in here.</p>',
                        border: false,
                        iconCls: 'settings'
                    }]
            },        
            new Ext.TabPanel({
                region: 'center',
                deferredRender: false,
                activeTab: 0,
                items: [
                    gridHolderPanel,
                    //myGrid,
                    {
                        contentEl: 'center2',
                        title: 'Help',
                        closable: true,
                        autoScroll: true
                    }]
            })]
        });
        
    });

    thanks!

  2. #2

    Default

    FYI: I found some additional error messages in the firebug console:

    "Resuming debugger: error during debugging loop: [Exception... "Illegal operation on WrappedNative prototype object" nsresult: "0x8057000c (NS_ERROR_XPC_BAD_OP_ON_WN_PROTO)" location: "JS frame :: XPCSafeJSObjectWrapper.cpp :: anonymous :: line 450" data: no]"

    This error also seems to only happen in FireFox.

  3. #3

Posting Permissions

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