add: if (gUpdates.update.channel == "nightly") updateName = updateName + " nightly (" + gUpdates.update.buildID + ")"; 
context:   onPageShow: function() {    var updateName = gUpdates.strings.getFormattedString("updateName",       [gUpdates.brandName, gUpdates.update.version]);    var updateNameElement = document.getElementById("updateName");    updateNameElement.value = updateName;    var severity = gUpdates.update.isSecurityUpdate ? "minor" : "major";    var displayType = gUpdates.strings.getString("updateType_" + severity);    var updateTypeElement = document.getElementById("updateType");    updateTypeElement.setAttribute("severity", severity);    var intro = gUpdates.strings.getFormattedString(      "introType_" + severity, [gUpdates.brandName]);    while (updateTypeElement.hasChildNodes())      updateTypeElement.removeChild(updateTypeElement.firstChild);    updateTypeElement.appendChild(document.createTextNode(intro));        var updateMoreInfoURL = document.getElementById("updateMoreInfoURL");    updateMoreInfoURL.href = gUpdates.update.detailsURL;        var em = Components.classes["@mozilla.org/extensions/manager;1"]                       .getService(Components.interfaces.nsIExtensionManager);    var items = em.getIncompatibleItemList("", gUpdates.update.version,                                           nsIUpdateItem.TYPE_ADDON, false,                                            { });    if (items.length > 0) {      // There are addons that are incompatible with this update, so show the       // warning message.      var incompatibleWarning = document.getElementById("incompatibleWarning");      incompatibleWarning.hidden = false;            this._incompatibleItems = items;    }        // If we were invoked from a background update check, automatically show     // the additional details the user may need to make this decision since     // they did not consciously make the decision to check.     // if (gUpdates.sourceEvent == SRCEVT_BACKGROUND)    // This is ridiculous... always show the additional info.    this.onShowMoreDetails();          try {      gUpdates.update.getProperty("licenseAccepted");    }    catch (e) {      gUpdates.update.setProperty("licenseAccepted", "false");    }    var downloadNowLabel = gUpdates.wiz.currentPage.getAttribute("downloadNowLabel");    var downloadLaterLabel = gUpdates.wiz.currentPage.getAttribute("downloadLaterLabel");    gUpdates.setButtons(null, false, downloadNowLabel, false, null, false,                        null, false, true,                         downloadLaterLabel, false);    gUpdates.wiz.getButton("next").focus();  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/b269a62cb12e59370adde16a9066ba02a7de4452/updates.js/clean/toolkit/mozapps/update/content/updates.js