comparison core.js @ 1210:845047ed3814

Possible fix for Safari on storage load error.
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Tue, 23 Feb 2016 11:17:44 +0000
parents 943b0ba7ec83
children 98d9ada911f2
comparison
equal deleted inserted replaced
1209:943b0ba7ec83 1210:845047ed3814
3092 // Holds results in XML format until ready for collection 3092 // Holds results in XML format until ready for collection
3093 this.globalPreTest = null; 3093 this.globalPreTest = null;
3094 this.globalPostTest = null; 3094 this.globalPostTest = null;
3095 this.testPages = []; 3095 this.testPages = [];
3096 this.document = document.implementation.createDocument(null,"waetresult"); 3096 this.document = document.implementation.createDocument(null,"waetresult");
3097 this.root = this.document.children[0]; 3097 this.root = this.document.childNodes[0];
3098 this.state = 0; 3098 this.state = 0;
3099 3099
3100 this.initialise = function() 3100 this.initialise = function()
3101 { 3101 {
3102 if (specification.preTest != undefined){this.globalPreTest = new this.surveyNode(this,this.root,specification.preTest);} 3102 if (specification.preTest != undefined){this.globalPreTest = new this.surveyNode(this,this.root,specification.preTest);}