rem: if (comp instanceof tw_BaseContainer && comp.isFocusCapable() && comp.isVisible()) { 
add: if (comp instanceof tw_BaseContainer && comp._focusCapable && comp.isVisible()) { 
context:     getPriorComponent: function(usable) {        var parent = this._parent;        var comp = null;                if (parent != null) {            var index = this._parentIndex;                        do {                index--;                                while (index < 0) {                                        //Go to the prior container, if that fails, to last component of this container                                        if (parent._parent != null) {                        index = parent._parentIndex - 1;                        parent = parent._parent;                                                //TODO: find a better solution to the double-nested tabfolder setup so we                         //don't have to code specifically for the tabfolder.                        if (parent instanceof tw_TabFolder) {                            index = parent._parentIndex - 1;                            parent = parent._parent;                        }                    } else {                        index = parent._children.length - 1;                    }                }                                                var comp = parent._children[index];                if (comp instanceof tw_BaseContainer && comp.isFocusCapable() && comp.isVisible()) {                    parent = comp;                    if (parent instanceof tw_TabFolder) parent = parent._children[parent._currentIndex];                                        index = parent._children.length;                    var notUsable = true;                } else if (usable) {                    var notUsable = !(comp.isVisible() && comp.isEnabled() && comp.isFocusCapable());                } else {                    var notUsable = false;                }            } while (notUsable);        }                return comp;    },
meta: 5515	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5515/d532c0ea03ef1c91856bba5408f049541b39c2ba/Component.js/buggy/src/thinwire/render/web/resources/Component.js