add: var enableExportButton=document.getElementById('ca_exportButton'); enableExportButton.setAttribute("disabled",toggle); 
context: function ca_enableButtons(){  var items = caTreeView.selection;  var nr = items.getRangeCount();  var toggle="false";  if (nr == 0) {    toggle="true";  }  var edit_toggle=toggle;/*  var edit_toggle="true";  if (nr > 0) {    for (var i=0; i<nr; i++) {      var o1 = {};      var o2 = {};      items.getRangeAt(i, o1, o2);      var min = o1.value;      var max = o2.value;      var stop = false;      for (var j=min; j<=max; j++) {        var tokenName = items.tree.view.getCellText(j, "tokencol");	if (tokenName == "Builtin Object Token") { stop = true; } break;      }      if (stop) break;    }    if (i == nr) {      edit_toggle="false";    }  }*/  var enableViewButton=document.getElementById('ca_viewButton');  enableViewButton.setAttribute("disabled",toggle);  var enableEditButton=document.getElementById('ca_editButton');  enableEditButton.setAttribute("disabled",edit_toggle);  var enableDeleteButton=document.getElementById('ca_deleteButton');  enableDeleteButton.setAttribute("disabled",toggle);}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/6613df3bd1791371c80fd56d49854d460d3cfe72/certManager.js/buggy/security/manager/pki/resources/content/certManager.js