From 7ea3759dc0624ce2a046c3a7f413214edd0fd754 Mon Sep 17 00:00:00 2001 From: "mconnor%myrealbox.com" Date: Tue, 1 Jun 2004 14:50:13 +0000 Subject: [PATCH] bug 240655, port neil's fix from 133606 to toolkit git-svn-id: svn://10.0.0.236/branches/AVIARY_1_0_20040515_BRANCH@157235 18797224-902f-48f8-a5cc-f745e15eee43 --- .../console/content/consoleBindings.xml | 22 ++----------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/mozilla/toolkit/components/console/content/consoleBindings.xml b/mozilla/toolkit/components/console/content/consoleBindings.xml index d33fdd7b451..0af4193be8b 100644 --- a/mozilla/toolkit/components/console/content/consoleBindings.xml +++ b/mozilla/toolkit/components/console/content/consoleBindings.xml @@ -75,8 +75,8 @@ observe : function(aObject) { this.console.appendItem(aObject); } }; - this.mConsoleRowBox = this.getAnonElByAttr("role", "console-rows"); - this.mStrBundle = this.getAnonElByAttr("role", "string-bundle"); + this.mConsoleRowBox = document.getAnonymousElementByAttribute(this, "role", "console-rows"); + this.mStrBundle = document.getAnonymousElementByAttribute(this, "role", "string-bundle"); try { var isupports = Components.classes['@mozilla.org/consoleservice;1'].getService(); @@ -251,24 +251,6 @@ - - - - - 0) - return kids2[0]; - } - return null; - ]]> - -