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())