support for ie8 PMDynaform

This commit is contained in:
Richard Yujra
2015-02-18 18:52:43 -04:00
parent a61c10d3ad
commit 39fdd11d80
2 changed files with 7 additions and 2 deletions

View File

@@ -22,10 +22,10 @@ function dynaFormChanged(frm) {
return false;
}
$(window).load(function () {
if ((navigator.userAgent.indexOf("MSIE") !== -1) || (navigator.userAgent.indexOf("Trident") !== -1)) {
/*if ((navigator.userAgent.indexOf("MSIE") !== -1) || (navigator.userAgent.indexOf("Trident") !== -1)) {
document.body.innerHTML = "<div style='margin:15px'>Responsive Dynaforms are not supported in this browser.</div>";
return;
}
}*/
if (pm_run_outside_main_app === 'true') {
if (parent.showCaseNavigatorPanel) {
parent.showCaseNavigatorPanel('DRAFT');