if (disableInstallUpdate && child.getAttribute("availableUpdateURL") != "none") 
if (disableInstallUpdate && child.hasAttribute("availableUpdateURL")) 
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.getAttribute("availableUpdateURL") != "none")        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);}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/4bc9171becf5f6974e75f65e6749e8c75ecb79d4/extensions.js/clean/toolkit/mozapps/extensions/content/extensions.js