rem: var disableAppRestart = true; 
add: var disableAppRestart = false; 
context: function updateGlobalCommands() {  var disableInstallFile = false;  var disableUpdateCheck = true;  var disableInstallUpdate = true;  var disableAppRestart = true;  if (gExtensionsView.hasAttribute("update-operation")) {    disableInstallFile = true;    disableAppRestart = true;  }  else {    var children = gExtensionsView.children;    for (var i = 0; i < children.length; ++i) {      var child = children[i];      if (disableUpdateCheck && child.getAttribute("updateable") == "true")        disableUpdateCheck = false;      if (disableInstallUpdate && child.hasAttribute("availableUpdateURL"))        disableInstallUpdate = false;      if (disableAppRestart && child.hasAttribute("state")) {        if (child.getAttribute("state") == "success")          disableAppRestart = false;      }    }  }  setElementDisabledByID("cmd_checkUpdatesAll", disableUpdateCheck);  setElementDisabledByID("cmd_installUpdatesAll", disableInstallUpdate);  setElementDisabledByID("cmd_restartApp", disableAppRestart);  setElementDisabledByID("cmd_installFile", disableInstallFile);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/4e395f066960c3bf09b430a75d939dc493eca7f2/extensions.js/clean/toolkit/mozapps/extensions/content/extensions.js