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: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d38a0937d9c93a0a9d913e2ac781e4328bb8cc73/customize.js/clean/xpfe/components/sidebar/resources/customize.js