From 1f2f240ef707e2ed1667466f17f73df4bb064c9d Mon Sep 17 00:00:00 2001 From: Paulo Veiga Date: Fri, 10 Jul 2009 00:01:09 +0000 Subject: [PATCH] Merge branch 'fix-ie8-issues' --- trunk/core-js/src/main/javascript/WaitDialog.js | 5 +++-- trunk/core-js/src/main/javascript/footer.js | 3 ++- trunk/wise-webapp/src/main/webapp/js/editor.js | 1 - 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/trunk/core-js/src/main/javascript/WaitDialog.js b/trunk/core-js/src/main/javascript/WaitDialog.js index 3bc08710..f48d6123 100644 --- a/trunk/core-js/src/main/javascript/WaitDialog.js +++ b/trunk/core-js/src/main/javascript/WaitDialog.js @@ -72,10 +72,11 @@ core.WaitDialog = new Class({ } }, displayLightbox: function(display) { - $('overlay').style.display = display; - $('lightbox').style.display = display; if (display != 'none') this.processInfo(); + $('overlay').style.display = display; + $('lightbox').style.display = display; + }, // Display dialog content ... diff --git a/trunk/core-js/src/main/javascript/footer.js b/trunk/core-js/src/main/javascript/footer.js index a6c9c603..68ed9b8b 100644 --- a/trunk/core-js/src/main/javascript/footer.js +++ b/trunk/core-js/src/main/javascript/footer.js @@ -87,5 +87,6 @@ window.onerror = function(sMsg, sUrl, sLine) var msg = sMsg + ' (' + sUrl + ', line ' + sLine + ')'; wLogger.fatal(msg); - return true; + $(window).fireEvent("error",null,0); + return false; }; \ No newline at end of file diff --git a/trunk/wise-webapp/src/main/webapp/js/editor.js b/trunk/wise-webapp/src/main/webapp/js/editor.js index 223ca768..36320de8 100644 --- a/trunk/wise-webapp/src/main/webapp/js/editor.js +++ b/trunk/wise-webapp/src/main/webapp/js/editor.js @@ -28,7 +28,6 @@ function afterCoreLoading() } else { $import("../js/mindplot.svg.js"); - } // if (core.UserAgent.isVMLSupported())