Restore of Console window that works for the built-in one as well as the Console^2 one
authorJeff Beckley <beckley@qualcomm.com>
Thu, 08 Jul 2010 18:29:01 -0700
changeset 279 b9a331eca9bee01001d3f3d18e406edb4a34d625
parent 278 296a620507a3443a17091a7ca9ed8c0afdbfe8cd
child 280 8ea06918e6dfa3c46fd777e0bb283de849e6bb71
push id264
push userbeckley@qualcomm.com
push dateFri, 09 Jul 2010 01:29:17 +0000
Restore of Console window that works for the built-in one as well as the Console^2 one
base/content/messengerOverlay.js
--- a/base/content/messengerOverlay.js
+++ b/base/content/messengerOverlay.js
@@ -420,17 +420,17 @@ function restoreOpenWindows()
                 break;
             case "Activity:Manager":
                 openActivityMgr();
                 break;
             case "Mail:About":
                 openAboutDialog();
                 break;
             case "global:console":
-                toErrorConsole();
+                toJavaScriptConsole();
                 break;
             case "mozapp:venkman":
                 start_venkman();
                 break;
             case "winInspectorMain":
                 inspectDOMDocument();
                 break;
             default: