rem: swap.menu.on('click', function(){ styles = swap.menu.items.get('styles').checked; showAll[styles? 'show' : 'hide'](); swap.setText(styles ? 'CSS Properties' : 'DOM Attributes'); var n = tree.getSelectionModel().getSelectedNode(); if(n){ onNodeSelect(tree, n); } }); 
add: this.tb.items.each(function(item){ if(item.menu){ item.menu.removeAll(); if(item.menu.el){ item.menu.el.destroy(); } } item.destroy(); }); 
context:         swap.menu.on('click', function(){            styles = swap.menu.items.get('styles').checked;            showAll[styles? 'show' : 'hide']();            swap.setText(styles ? 'CSS Properties' : 'DOM Attributes');            var n = tree.getSelectionModel().getSelectedNode();            if(n){                onNodeSelect(tree, n);            }        });
meta: 2891	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2891/d109eea1e59fbb030ac98e95f181f72da9611a48/ext-all-debug.js/buggy/gemma-web/src/main/webapp/scripts/ext/ext-all-debug.js