Skip to content
English
  • There are no suggestions because the search field is empty.

How To Suppress JavaScript Errors for Inquisiq R3/R4/R5 On-Premise Systems

The instructions below will suppress unwanted JavaScript pop-up messages for on-premise systems on the legacy Inquisiq R3/R4/R5 LMS product.

The instructions below will suppress unwanted JavaScript pop-up messages for on-premise systems on the legacy Inquisiq R3/R4/R5 LMS product. These JavaScript errors appear for end users when launching online lessons. 

In order to suppress these messages, edit out the following code blocks in the launch/lesson.asp file:

  1. // alert on JS errors

  2. window.onerror = function(){

  3. alert(window.opener.Translator.LESSON_DATA_ERROR);

  4. return true;

  5. }

and

  1. //set error behavior within lesson content

  2. setTimeout("window.frames[0].onerror = function(){alert(window.opener.Translator.LESSON_ERROR); return true;}", 1000);