rem: function updateSendLinkItem() { var menuitem = document.getElementById("menu_sendLink"); if (menuitem) { var selectedItems = document.getElementById("bookmarksTree").selectedItems; var command = document.getElementById("Browser:SendLink"); if (selectedItems.length == 1 && selectedItems[0].getAttribute("type") != NC_NS + "Folder") 
add: function updateSendLinkItem() { var outliner = document.getElementById("bookmarks-view"); var command = document.getElementById("Browser:SendLink"); if (command) { if (outliner.canSendLink()) 
context: function updateSendLinkItem(){  var menuitem = document.getElementById("menu_sendLink");  if (menuitem) {    var selectedItems = document.getElementById("bookmarksTree").selectedItems;    var command = document.getElementById("Browser:SendLink");    if (selectedItems.length == 1 && selectedItems[0].getAttribute("type") != NC_NS + "Folder")      command.removeAttribute("disabled");    else      command.setAttribute("disabled", "true");  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/ccaad1ec2359468e69ed83c2868fd8c48fac9528/bookmarks.js/buggy/xpfe/components/bookmarks/resources/bookmarks.js