@@ -165,12 +165,11 @@ StyledItem {
166 * Determine if array contains item
166 * Determine if array contains item
168− function itemInArrayInOtherArray(item, array) {
168+ function itemInArray(item, array) {
169 return array.indexOf(item) >= 0;
169 return array.indexOf(item) >= 0;
172 function checkSkip() {
172 function checkSkip() {
173− console.warn("Evaluating skip on " + currentPage.objectName);
174 if (!currentPage) { // may have had a parse error
173 if (!currentPage) { // may have had a parse error
175 console.warn("Wizard page skipped due to possible parse error.");
174 console.warn("Wizard page skipped due to possible parse error.");
@@ -178,11 +177,11 @@ StyledItem {
178 if (currentPage.skip) {
177 if (currentPage.skip) {
180 console.warn("Wizard page " + currentPage.objectName + " skipped on request");
179 console.warn("Wizard page " + currentPage.objectName + " skipped on request");
181− } else if ( !(itemInArray(root.runningWizardVersion, currentPage.showOnVersions)) &&
180+ } else if ( !(itemInArray(wizard.runningWizardVersion, currentPage.showOnVersions)) &&
182 (currentPage.showOnVersions.length > 0) ) {
181 (currentPage.showOnVersions.length > 0) ) {
183 // The page is not supposed to run on this version of the wizard
182 // 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.");
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);
186 console.warn("Starting wizard page " + currentPage.objectName);
188 currentPage.opacity = 1;
187 currentPage.opacity = 1;