From 6bf8d6584846af95a77592746fd00a8051776bf0 Mon Sep 17 00:00:00 2001 From: "daniel%glazman.org" Date: Tue, 29 Jun 2004 08:07:26 +0000 Subject: [PATCH] JS warning in EdAECSSAttributes.js; b=248966; fix by gautheri@noos.fr; r=daniel@glazman.org; sr=sfraser@aol.net git-svn-id: svn://10.0.0.236/trunk@158571 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/editor/ui/dialogs/content/EdAECSSAttributes.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/mozilla/editor/ui/dialogs/content/EdAECSSAttributes.js b/mozilla/editor/ui/dialogs/content/EdAECSSAttributes.js index c518fb16464..e33f448e4b9 100644 --- a/mozilla/editor/ui/dialogs/content/EdAECSSAttributes.js +++ b/mozilla/editor/ui/dialogs/content/EdAECSSAttributes.js @@ -62,11 +62,10 @@ function BuildCSSAttributeTable() if (declLength > 0) { - var added = false; - for (i = 0; i < declLength; i++) + for (var i = 0; i < declLength; ++i) { - name = style.item(i); - value = style.getPropertyValue(name); + var name = style.item(i); + var value = style.getPropertyValue(name); AddTreeItem( name, value, "CSSAList", CSSAttrs ); } }