rem: if (tree.selectedItems.length == 1) { var selected = tree.selectedItems[0]; var before = selected.previousSibling 
add: if (tree.treeBoxObject.selection.count == 1) { var index = tree.currentIndex; var selected = tree.contentView.getItemAtIndex(index); var before = selected.previousSibling; 
context: function MoveUp() {  var tree = document.getElementById('current-panels');  if (tree.selectedItems.length == 1) {    var selected = tree.selectedItems[0];    var before = selected.previousSibling    if (before) {      before.parentNode.insertBefore(selected, before);      tree.selectItem(selected);      tree.ensureElementIsVisible(selected);    }  }  enable_buttons_for_current_panels();}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/d38a0937d9c93a0a9d913e2ac781e4328bb8cc73/customize.js/clean/xpfe/components/sidebar/resources/customize.js