Add option to not show MathPlayer alert (helps with testsuite)

This commit is contained in:
Davide P. Cervone 2014-05-05 07:55:16 -04:00
parent 49ede41339
commit 085c80054c

View File

@ -195,17 +195,19 @@
// //
// If that fails, give an alert about security settings // If that fails, give an alert about security settings
// //
alert(MathJax.Localization._(["MathML", "MathPlayer"], if (!this.config.noMathPlayerWarning) {
"MathJax was not able to set up MathPlayer.\n\n"+ alert(MathJax.Localization._(["MathML", "MathPlayer"],
"If MathPlayer is not installed, you need to install it first.\n"+ "MathJax was not able to set up MathPlayer.\n\n"+
"Otherwise, your security settings may be preventing ActiveX \n"+ "If MathPlayer is not installed, you need to install it first.\n"+
"controls from running. Use the Internet Options item under\n"+ "Otherwise, your security settings may be preventing ActiveX \n"+
"the Tools menu and select the Security tab, then press the\n"+ "controls from running. Use the Internet Options item under\n"+
"Custom Level button. Check that the settings for\n"+ "the Tools menu and select the Security tab, then press the\n"+
"'Run ActiveX Controls', and 'Binary and script behaviors'\n"+ "Custom Level button. Check that the settings for\n"+
"are enabled.\n\n"+ "'Run ActiveX Controls', and 'Binary and script behaviors'\n"+
"Currently you will see error messages rather than\n"+ "are enabled.\n\n"+
"typeset mathematics.")); "Currently you will see error messages rather than\n"+
"typeset mathematics."));
}
} }
} else { } else {
// //