rem: var root = document.getElementById('current-panels-root'); for (var node = root.firstChild; node != null; node = node.nextSibling) { original_panels[original_panels.length] = node.getAttribute('id'); 
add: var tree = document.getElementById('current-panels'); if (!tree.view) { setTimeout(save_initial_panels, 0); } else { for (var i = 0; i < tree.view.rowCount; ++i) { var item = tree.contentView.getItemAtIndex(i); original_panels.push(item.id); } 
context: function save_initial_panels(){  var root = document.getElementById('current-panels-root');  for (var node = root.firstChild; node != null; node = node.nextSibling) {    original_panels[original_panels.length] = node.getAttribute('id');  }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/e0d74dbab0591d49321454ee7cde5f57910c4047/customize.js/buggy/suite/common/sidebar/customize.js