From 9f528f1f20e1edc503991a89098cbd1a7f2cab23 Mon Sep 17 00:00:00 2001 From: "hewitt%netscape.com" Date: Thu, 25 Jan 2001 19:56:55 +0000 Subject: [PATCH] 65990 - composer color palette, r=cmanske, sr=sfraser --- editor/ui/dialogs/content/EdColorPicker.js | 2 +- editor/ui/dialogs/content/EdColorPicker.xul | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/ui/dialogs/content/EdColorPicker.js b/editor/ui/dialogs/content/EdColorPicker.js index 9513a64854e..680a8023b96 100644 --- a/editor/ui/dialogs/content/EdColorPicker.js +++ b/editor/ui/dialogs/content/EdColorPicker.js @@ -155,7 +155,7 @@ function ChangePalette(palette) function SelectColor() { - var color = dialog.ColorPicker.getAttribute("color"); + var color = dialog.ColorPicker.color; if (color.length > 0) { SetCurrentColor(color); diff --git a/editor/ui/dialogs/content/EdColorPicker.xul b/editor/ui/dialogs/content/EdColorPicker.xul index 99cb9839e0c..132ef403fdf 100644 --- a/editor/ui/dialogs/content/EdColorPicker.xul +++ b/editor/ui/dialogs/content/EdColorPicker.xul @@ -53,7 +53,7 @@ + onselect="SelectColor();"/>