@@ -84,19 +84,22 @@ StyledItem {
87− function quitWizard() {
87+ function savePassword() {
88− pageStack.currentPage.enabled = false;
90 if (password != "") {
88 if (password != "") {
91− var errorMsg = securityPrivacy.setSecurity("", password, passwordMethod)
89+ var errorMsg = securityPrivacy.setSecurity("", password, passwordMethod);
92 if (errorMsg !== "") {
90 if (errorMsg !== "") {
93 // Ignore (but log) any errors, since we're past where the user set
91 // Ignore (but log) any errors, since we're past where the user set
94 // the method. Worst case, we just leave the user with a swipe
92 // the method. Worst case, we just leave the user with a swipe
95 // security method and they fix it in the system settings.
93 // security method and they fix it in the system settings.
96− console.log("Wizard: Error setting security method:", errorMsg)
94+ console.log("Wizard: Error setting security method:", errorMsg);
100+ function quitWizard() {
101+ pageStack.currentPage.enabled = false;