Skip to content
Snippets Groups Projects
Commit 64dcbfa3 authored by Remco Tukker's avatar Remco Tukker
Browse files

updatescript for survey model

parent 4fc3d5f5
Branches
Tags
1 merge request!63Feature/locking bugfixes
......@@ -2940,8 +2940,6 @@
"title": "Services"
}
],
"sendResultOnPageNext": true,
"showQuestionNumbers": "onPage",
"showTOC": true,
"checkErrorsMode": "onValueChanged"
}
\ No newline at end of file
This diff is collapsed.
......@@ -58,12 +58,13 @@ function SurveyContainerComponent({ loadFrom }) {
survey.setVariable('surveyyear', year);
survey.setVariable('previousyear', parseInt(year!) - 1);
survey.showNavigationButtons = false;
survey.data = json['data'];
survey.clearIncorrectValues(true); // TODO test if this really removes all old values and such
survey.currentPageNo = json['page'];
survey.showNavigationButtons = false;
survey.showTOC = false;
survey.mode = json['mode'];
survey.lockedBy = json['locked_by'];
survey.status = json['status'];
survey.editAllowed = json['edit_allowed'];
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment