comparison core.js @ 551:5cd12e23b195 Dev_main

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 aa55372146a0
children bdcc5fc7a6bf
comparison
equal deleted inserted replaced
550:aa55372146a0 551:5cd12e23b195
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);}