var child = children[i]; if (disableUpdateCheck && child.getAttribute("updateable") == "true") 
if (children[i].getAttribute("updateable") == "true") { 
function updateGlobalCommands() {  var disableInstallFile = false;  var disableUpdateCheck = true;  var disableInstallUpdate = true;  var disableAppRestart = false;  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") && child.getAttribute("state") != "success")        disableAppRestart = true;    }  }  setElementDisabledByID("cmd_checkUpdatesAll", disableUpdateCheck);  setElementDisabledByID("cmd_installUpdatesAll", disableInstallUpdate);  setElementDisabledByID("cmd_restartApp", disableAppRestart);  setElementDisabledByID("cmd_installFile", disableInstallFile);}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/79d7684915e26086e9a0d43a9228017a3c9e2689/extensions.js/clean/toolkit/mozapps/extensions/content/extensions.js