%wizardDTD; ]> 0 null null null = this.pageCount) return val; var page = this.wizardPages[val]; this._pageStack[this._pageStack.length-1] = page; this.currentPage = page; return val; ]]> (function() { document.documentElement.rewind(); }) (function() { document.documentElement.advance(); }) (function() { document.documentElement.advance(); }) (function() { document.documentElement.cancel(); }) (function() { document.documentElement.extra1(); }) (function() { document.documentElement.extra2(); }) (function(event) { if (document.documentElement.cancel()) event.preventDefault(); }) // see bug 63370 for details this._bundle = Components.classes["@mozilla.org/intl/stringbundle;1"] .getService(Components.interfaces.nsIStringBundleService) .createBundle("chrome://global/locale/wizard.properties"); } catch (e) { // This fails in remote XUL, which has to provide titles for all pages // see bug 142502 } // get anonymous content references this._wizardHeader = document.getAnonymousElementByAttribute(this, "anonid", "Header"); this._wizardButtons = document.getAnonymousElementByAttribute(this, "anonid", "Buttons"); this._deck = document.getAnonymousElementByAttribute(this, "anonid", "Deck"); this._initWizardButton("back"); this._initWizardButton("next"); this._initWizardButton("finish"); this._initWizardButton("cancel"); this._initWizardButton("extra1"); this._initWizardButton("extra2"); this._initPages(); window.addEventListener("close", this._closeHandler, false); // start off on the first page this.pageCount = this.wizardPages.length; this.advance(); // give focus to the first focusable element in the dialog window.addEventListener("load", this._setInitialFocus, false); ]]> if (!event.defaultPrevented) this.cancel(); -1 #ifdef XP_MACOSX #else document.getAnonymousElementByAttribute(this, "anonid", "WizardButtonDeck"); #endif