Index: lams_central/web/login.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/login.jsp,v diff -u -r1.51.2.15 -r1.51.2.16 --- lams_central/web/login.jsp 7 Mar 2016 12:55:31 -0000 1.51.2.15 +++ lams_central/web/login.jsp 7 Mar 2016 21:45:35 -0000 1.51.2.16 @@ -50,9 +50,17 @@ submitForm(); } } + + function isBrowserCompatible() { + return Modernizr.atobbtoa && Modernizr.checked && Modernizr.cookies && Modernizr.nthchild && Modernizr.opacity && + Modernizr.svg && Modernizr.todataurlpng && Modernizr.websockets && Modernizr.xhrresponsetypetext; + // Modernizr.datauri - should be included, it's a async test though + // Modernizr.time - should be included, fails in Chrome for an unknown reason (reported) + // Modernizr.xhrresponsetypejson - should be included, fails in IE 11 for an unknown reason (reported) + } $(document).ready(function() { - if (!Modernizr.testAllProps()) { + if (!isBrowserCompatible()) { $('#browserNotCompatible').show(); } $('#j_username').focus();