diff --git a/mozilla/editor/ui/composer/content/EditorCommands.js b/mozilla/editor/ui/composer/content/EditorCommands.js
index b7e882680d3..7133517075e 100644
--- a/mozilla/editor/ui/composer/content/EditorCommands.js
+++ b/mozilla/editor/ui/composer/content/EditorCommands.js
@@ -680,15 +680,18 @@ function EditorDecreaseFontSize()
editorShell.DecreaseFontSize();
}
-function EditorSelectTextColor()
+function EditorSelectTextColor(ColorPickerID, ColorWellID)
{
-
- dump("EditorSelectTextColor\n");
+ var color = getColorAndSetColorWell(ColorPickerID, ColorWellID);
+ dump("EditorSelectTextColor: "+color+"\n");
+ EditorSetFontColor(color);
}
-function EditorSelectBackColor()
+function EditorSelectBackColor(ColorPickerID, ColorWellID)
{
- dump("EditorSelectBackColor\n");
+ var color = getColorAndSetColorWell(ColorPickerID, ColorWellID);
+ dump("EditorSelectBackColor: "+color+"\n");
+ EditorSetBackgroundColor(color);
}
function EditorSetFontColor(color)
diff --git a/mozilla/editor/ui/composer/content/editor.xul b/mozilla/editor/ui/composer/content/editor.xul
index 4f2342ecd0d..e5b9511329f 100644
--- a/mozilla/editor/ui/composer/content/editor.xul
+++ b/mozilla/editor/ui/composer/content/editor.xul
@@ -61,8 +61,8 @@
-
-
+
+
diff --git a/mozilla/editor/ui/composer/content/editorOverlay.xul b/mozilla/editor/ui/composer/content/editorOverlay.xul
index 7981fb36f48..be323f4bc08 100644
--- a/mozilla/editor/ui/composer/content/editorOverlay.xul
+++ b/mozilla/editor/ui/composer/content/editorOverlay.xul
@@ -573,17 +573,17 @@
-
+
-
+