rem: var commands = ["cmd_bm_newbookmark", "cmd_bm_newfolder", "cmd_bm_newseparator", "cmd_bm_properties", "cmd_bm_rename", 
add: var commands = ["cmd_bm_newbookmark", "cmd_bm_newfolder", "cmd_bm_newseparator", "cmd_undo", "cmd_redo", "cmd_bm_properties", "cmd_bm_rename", 
context:   onCommandUpdate: function (aSelection, aTarget)  {    var commands = ["cmd_bm_newbookmark", "cmd_bm_newfolder", "cmd_bm_newseparator",                     "cmd_bm_properties", "cmd_bm_rename",                     "cmd_bm_copy", "cmd_bm_paste", "cmd_bm_cut", "cmd_bm_delete",                    "cmd_bm_setpersonaltoolbarfolder",                     "cmd_bm_setnewbookmarkfolder",                    "cmd_bm_setnewsearchfolder", "cmd_bm_movebookmark",                     "cmd_bm_openfolder", "cmd_bm_managefolder"];    for (var i = 0; i < commands.length; ++i) {      var enabled = this.isCommandEnabled(commands[i], aSelection, aTarget);      var commandNode = document.getElementById(commands[i]);     if (commandNode) {         if (enabled)           commandNode.removeAttribute("disabled");        else           commandNode.setAttribute("disabled", "true");      }    }  }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/da1d3f24d4e18696b0a03b143c18126d06413bb0/bookmarks.js/buggy/browser/components/bookmarks/content/bookmarks.js