rem: var tree = document.getElementById( "bookmarksTree" ); var status = document.getElementById( "statusbar-text" ); if( tree.selectedItems.length != 1 ) { status.setAttribute( "value", "" ); return; } var url = tree.selectedItems[0].getAttribute("location"); status.setAttribute( "value", url ); 
add: var tree = document.getElementById( "bookmarksTree" ); var status = document.getElementById( "statusbar-text" ); var val = ""; if( tree.selectedItems.length == 1 ) { val = getAbsoluteID("bookmarksTree", tree.selectedItems[0]);   if (val.substring(0, 3) == "NC:") { val = ""; } } status.setAttribute( "value", val ); return(true); 
context: function bookmarkSelect(){  var tree = document.getElementById( "bookmarksTree" );  var status = document.getElementById( "statusbar-text" );  if( tree.selectedItems.length != 1 ) {    status.setAttribute( "value", "" );    return;  }  var url = tree.selectedItems[0].getAttribute("location");  status.setAttribute( "value", url );}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/d2a00e33010557d3725eaf89e301c314b0782eca/bookmarks.js/buggy/xpfe/components/bookmarks/resources/bookmarks.js