rem: node.removeAttribute("disabled"); 
context:   updateMenuItem: function (aTxmgr, aTxn) {    if (aTxn) {      aTxn = aTxn.wrappedJSObject;      if ((aTxn.type == "remove" || aTxn.type == "insert") && aTxn.action == "move")      return;    }    var node, transactionNumber, transactionList, transactionLabel, action;    node = document.getElementById("cmd_undo");    transactionNumber = aTxmgr.numberOfUndoItems;    dump("N UNDO: "+transactionNumber+"\n")    if (transactionNumber == 0) {      node.setAttribute("disabled", "true");      transactionLabel = BookmarksUtils.getLocaleString("cmd_bm_undo");    } else {      node.removeAttribute("disabled");      transactionList  = aTxmgr.getUndoList();      action           = transactionList.getItem(transactionNumber-1).wrappedJSObject.action;      transactionLabel = BookmarksUtils.getLocaleString("cmd_bm_"+action+"_undo")    }    node.setAttribute("label", transactionLabel);          node = document.getElementById("cmd_redo");    transactionNumber = aTxmgr.numberOfRedoItems;    dump("N REDO: "+transactionNumber+"\n")    if (transactionNumber == 0) {      node.setAttribute("disabled", "true");      transactionLabel = BookmarksUtils.getLocaleString("cmd_bm_redo");    } else {      node.removeAttribute("disabled");      transactionList  = aTxmgr.getRedoList();      action           = transactionList.getItem(transactionNumber-1).wrappedJSObject.action;      transactionLabel = BookmarksUtils.getLocaleString("cmd_bm_"+action+"_redo")    }    node.setAttribute("label", transactionLabel);  }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/da1d3f24d4e18696b0a03b143c18126d06413bb0/bookmarks.js/buggy/browser/components/bookmarks/content/bookmarks.js