From aaf57fc3cfa3cc57d84662b78a6a07f42557451e Mon Sep 17 00:00:00 2001 From: "caillon%returnzero.com" Date: Wed, 21 May 2003 23:38:17 +0000 Subject: [PATCH] 206452 - Making new attribute and edit attribute work again. r=ajvincent@juno.com sr=dmose a=asa --- .../inspector/resources/content/viewers/domNode/domNode.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/inspector/resources/content/viewers/domNode/domNode.js b/extensions/inspector/resources/content/viewers/domNode/domNode.js index 25ca35bd554..9d0907a5f81 100644 --- a/extensions/inspector/resources/content/viewers/domNode/domNode.js +++ b/extensions/inspector/resources/content/viewers/domNode/domNode.js @@ -315,7 +315,7 @@ cmdEditInsert.prototype = var attrValue = { value: "" }; var dummy = { value: false }; - var bundle = this.mPanel.panelset.stringBundle; + var bundle = viewer.pane.panelset.stringBundle; var msg = bundle.getString("enterAttrName.message"); var title = bundle.getString("newAttribute.title"); @@ -389,7 +389,7 @@ cmdEditEdit.prototype = var attrValue = { value: attr.nodeValue }; var dummy = { value: false }; - var bundle = this.mPanel.panelset.stringBundle; + var bundle = viewer.pane.panelset.stringBundle; var msg = bundle.getString("enterAttrName.message"); var title = bundle.getString("editAttribute.title");