diff --git a/src/footer/footerVersion.js b/src/footer/footerVersion.js index 9b1fd3af..2ac2228f 100644 --- a/src/footer/footerVersion.js +++ b/src/footer/footerVersion.js @@ -1,7 +1,7 @@ const version = { - number: '8.1.7-25', - date: '2024-09-20' + number: '8.1.7-26', + date: '2024-10-02' } export default version diff --git a/src/mobile/pages/pages-vm.js b/src/mobile/pages/pages-vm.js index 3026a0f0..182d5abb 100644 --- a/src/mobile/pages/pages-vm.js +++ b/src/mobile/pages/pages-vm.js @@ -255,7 +255,7 @@ export default DefineMap.extend('PagesVM', { for (let i = 1; i < answer.values.length; i++) { if (!validator.get(answer.type)(answer.values[i])) { answer.values[i] = null - Object.defineProperty(answer, 'invalid', + Object.defineProperty(answer, 'invalid', { value: true, writable: true @@ -285,7 +285,6 @@ export default DefineMap.extend('PagesVM', { */ answersValidated: { get () { - const parsed = this.validatedAnswers(this.answers.serialize()) return parsed } @@ -325,8 +324,7 @@ export default DefineMap.extend('PagesVM', { */ answersANX: { get () { - - //const parsed = Parser.parseANX(this.validatedAnswers(this.answers.serialize())) + // const parsed = Parser.parseANX(this.validatedAnswers(this.answers.serialize())) const parsed = Parser.parseANX(this.answersValidated) return parsed } diff --git a/src/mobile/pages/pages.js b/src/mobile/pages/pages.js index d41bff06..a3845909 100644 --- a/src/mobile/pages/pages.js +++ b/src/mobile/pages/pages.js @@ -11,7 +11,6 @@ import '~/src/mobile/util/helpers' import constants from '~/src/models/constants' import DefineMap from 'can-define/map/map' - stache.registerPartial('assemble-form', assembleFormTpl) stache.registerPartial('save-answers-form', saveAnswersFormTpl) @@ -114,7 +113,7 @@ export default Component.extend({ }, 'button.save-answers click': function (el, ev) { - console.log("clicked!") + console.log('clicked!') ev.preventDefault() const button = new DefineMap({ next: constants.qIDSUCCESS })