rem: var start     = document.getElementById( "ok" ); 
add: var start     = document.documentElement.getButton( "accept" ); 
context: function DoEnabling(){  var renbutton = document.getElementById( "renbutton" );  var delbutton = document.getElementById( "delbutton" );  var start     = document.getElementById( "ok" );    var profileList = document.getElementById( "profiles" );  if (profileList.view.selection.count == 0)  {    renbutton.setAttribute( "disabled", "true" );    delbutton.setAttribute( "disabled", "true" );    start.setAttribute( "disabled", "true" );  }  else {    if( renbutton.getAttribute( "disabled" ) == "true" )      renbutton.removeAttribute( "disabled", "true" );    if( start.getAttribute( "disabled" ) == "true" )      start.removeAttribute( "disabled", "true" );        var canDelete = true;    if (!gStartupMode) {        var selected = profileList.view.getItemAtIndex(profileList.currentIndex);      var profileName = selected.getAttribute("profile_name");      var currentProfile = profile.currentProfile;      if (currentProfile && (profileName == currentProfile))        canDelete = false;          }    if (canDelete) {      if ( delbutton.getAttribute( "disabled" ) == "true" )        delbutton.removeAttribute( "disabled" );    }    else      delbutton.setAttribute( "disabled", "true" );        }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/f30f0c46a396d0dece3ef7aab6f404b259d1567d/profileManager.js/clean/profile/resources/content/profileManager.js