rem: goUpdateCommand("placesCmd_open"); goUpdateCommand("placesCmd_open:window"); goUpdateCommand("placesCmd_open:tab"); goUpdateCommand("placesCmd_new:folder"); goUpdateCommand("placesCmd_new:bookmark"); goUpdateCommand("placesCmd_new:livemark"); goUpdateCommand("placesCmd_new:separator"); goUpdateCommand("placesCmd_show:info"); goUpdateCommand("placesCmd_moveBookmarks"); goUpdateCommand("placesCmd_setAsBookmarksToolbarFolder"); goUpdateCommand("placesCmd_reload"); goUpdateCommand("placesCmd_reloadMicrosummary"); goUpdateCommand("placesCmd_sortBy:name"); 
add: var placesController; try {  placesController = top.document.commandDispatcher .getControllerForCommand("placesCmd_open"); } catch(ex) { return; }  function updatePlacesCommand(aCommand) { var enabled = false; if (placesController) enabled = placesController.isCommandEnabled(aCommand); goSetCommandEnabled(aCommand, enabled); }  updatePlacesCommand("placesCmd_open"); updatePlacesCommand("placesCmd_open:window"); updatePlacesCommand("placesCmd_open:tab"); updatePlacesCommand("placesCmd_new:folder"); updatePlacesCommand("placesCmd_new:bookmark"); updatePlacesCommand("placesCmd_new:livemark"); updatePlacesCommand("placesCmd_new:separator"); updatePlacesCommand("placesCmd_show:info"); updatePlacesCommand("placesCmd_moveBookmarks"); updatePlacesCommand("placesCmd_setAsBookmarksToolbarFolder"); updatePlacesCommand("placesCmd_reload"); updatePlacesCommand("placesCmd_reloadMicrosummary"); updatePlacesCommand("placesCmd_sortBy:name"); 
context: function goUpdatePlacesCommands() {  goUpdateCommand("placesCmd_open");  goUpdateCommand("placesCmd_open:window");  goUpdateCommand("placesCmd_open:tab");  goUpdateCommand("placesCmd_new:folder");  goUpdateCommand("placesCmd_new:bookmark");  goUpdateCommand("placesCmd_new:livemark");  goUpdateCommand("placesCmd_new:separator");  goUpdateCommand("placesCmd_show:info");  goUpdateCommand("placesCmd_moveBookmarks");  goUpdateCommand("placesCmd_setAsBookmarksToolbarFolder");  goUpdateCommand("placesCmd_reload");  goUpdateCommand("placesCmd_reloadMicrosummary");  goUpdateCommand("placesCmd_sortBy:name");}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/0ca5566a00e8a335f07ccb5ec4a016ea5cc6dca0/controller.js/buggy/browser/components/places/content/controller.js