@@ -139,18 +139,20 @@ StyledItem {
140 function load(path) {
140 function load(path) {
141 if (currentPage) {
141 if (currentPage) {
142− currentPage.enabled = false
142+ currentPage.enabled = false;
145 // First load it invisible, check that we should actually use
145 // First load it invisible, check that we should actually use
146 // this page, and either skip it or continue.
146 // this page, and either skip it or continue.
147− push(path, {"opacity": 0, "enabled": false})
147+ push(path, {"opacity": 0, "enabled": false});
149 timeout.restart();
149 timeout.restart();
151+ console.info("Loading page " + currentPage.objectName);
151 // Check for immediate skip or not. We may have to wait for
153 // Check for immediate skip or not. We may have to wait for
152 // skipValid to be assigned (see Connections object below)
154 // skipValid to be assigned (see Connections object below)
153− checkSkip()
155+ checkSkip();
155 var isPrimaryPage = !currentPage.customTitle;
157 var isPrimaryPage = !currentPage.customTitle;
156 if (isPrimaryPage) {
158 if (isPrimaryPage) {
@@ -168,19 +170,23 @@ StyledItem {
170 function checkSkip() {
172 function checkSkip() {
173+ console.warn("Evaluating skip on " + currentPage.objectName);
171 if (!currentPage) { // may have had a parse error
174 if (!currentPage) { // may have had a parse error
172 console.warn("Wizard page skipped due to possible parse error.");
175 console.warn("Wizard page skipped due to possible parse error.");
174 } else if (currentPage.skipValid) {
177 } else if (currentPage.skipValid) {
175 if (currentPage.skip) {
178 if (currentPage.skip) {
180+ console.warn("Wizard page " + currentPage.objectName + " skipped on request");
177 } else if ( !(itemInArray(root.runningWizardVersion, currentPage.showOnVersions)) &&
181 } else if ( !(itemInArray(root.runningWizardVersion, currentPage.showOnVersions)) &&
178 (currentPage.showOnVersions.length > 0) ) {
182 (currentPage.showOnVersions.length > 0) ) {
179 // The page is not supposed to run on this version of the wizard
183 // The page is not supposed to run on this version of the wizard
184+ console.warn("Wizard page " + currentPage.objectName + " skipped, it is not marked to run on this version.");
187+ console.warn("Starting wizard page " + currentPage.objectName);
182− currentPage.opacity = 1
188+ currentPage.opacity = 1;
183− currentPage.enabled = true
189+ currentPage.enabled = true;
184 timeout.stop();
190 timeout.stop();