rem: var treeNode = document.getElementById('bookmarksTree');  var select_list = treeNode.selectedItems;  if (select_list.length >= 1) {  var type = select_list[0].getAttribute('type'); if (type != "http: { var props = window.open("chrome: "BookmarkProperties", "chrome, menubar"); props.BookmarkURL = select_list[0].getAttribute("id"); } } else { debug("nothing selected!"); } return(true); 
add: var treeNode = document.getElementById('bookmarksTree');  var select_list = treeNode.selectedItems;  if (select_list.length >= 1) {  var type = select_list[0].getAttribute('type'); if (type != "http: { window.openDialog("chrome: "_blank", "chrome,menubar", select_list[0].getAttribute("id")); } } else { debug("nothing selected!\n"); } return(true); 
context: function BookmarkProperties(){	var treeNode = document.getElementById('bookmarksTree');//	var select_list = treeNode.getElementsByAttribute("selected", "true");	var select_list = treeNode.selectedItems;	if (select_list.length >= 1)	{		// don't bother showing properties on bookmark separators		var type = select_list[0].getAttribute('type');		if (type != "http://home.netscape.com/NC-rdf#BookmarkSeparator")		{			var props = window.open("chrome://bookmarks/content/bm-props.xul",						"BookmarkProperties", "chrome, menubar");			props.BookmarkURL = select_list[0].getAttribute("id");		}	}	else	{		debug("nothing selected!"); 	}	return(true);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/0d4c328c9d45a14e4159eafc3767692317f5f336/bookmarks.js/clean/suite/common/bookmarks/bookmarks.js