rem: gUpdateWizard.setButtonLabels(null, true, "installButtonText", true, 
add: gUpdateWizard.setButtonLabels(null, true, "installButtonText", true, 
context:   updateNextButton: function ()  {    if (!gUpdateWizard.xpinstallEnabled) {      document.documentElement.getButton("next").disabled = true;      return;    }    var oneChecked = false;    var foundUpdates = document.getElementById("found.updates");    var updates = foundUpdates.getElementsByTagName("listitem");;    for (var i = 0; i < updates.length; ++i) {      if (!updates[i].checked)        continue;      oneChecked = true;      break;    }    gUpdateWizard.setButtonLabels(null, true,                                   "installButtonText", true,                                   null, false);    document.getElementById("found").setAttribute("next", "installing");     document.documentElement.getButton("next").disabled = !oneChecked;  }
meta: 10520	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10520/c638d38804a8a1b23aaee5ccd66bb42aad5a242e/update.js/buggy/toolkit/mozapps/extensions/content/update.js