WISE-Community / WISE-VLE--Deprecated--

Virtual Learning Environment (VLE) for the Web-based Inquiry Science Environment (WISE). *Note: deprecated and has been merged into the main 'WISE' repository*
8 stars 8 forks source link

IE10: Does not load VLE #303

Closed hirokiterashima closed 11 years ago

hirokiterashima commented 11 years ago

How to reproduce:

  1. Open any project (preview or student run) in IE10.
  2. You get a blank screen.

In the Console under Developer Tools, there is a javascript error: SCRIPT5022: SyntaxError content.js, line 215 character 5 XML5619: Incorrect document syntax. , line 1 character 1

hirokiterashima commented 11 years ago

This was caused because setContentXMLFromString function was throwing an exception.

Added a try-catch and set contentXML = undefined. https://github.com/WISE-Community/WISE-VLE/commit/d5e432e96339c27142daf024c268f8a5e2b076d9