Fixes for CKEDITOR

Monotone-Parent: 4b74905cc02ae0545c5ebcfdc467b052d5d42568
Monotone-Revision: 97c9c9c324c392626b96db873449bcc7892993b9

Monotone-Author: crobert@inverse.ca
Monotone-Date: 2009-08-26T15:08:56
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
C Robert
2009-08-26 15:08:56 +00:00
parent 4f7130e8a0
commit 3c659d118e
5 changed files with 10 additions and 20 deletions

View File

@@ -225,7 +225,7 @@ function onComposeMessagesTypeChange(event) {
if (event) {
// Due to a limitation of CKEDITOR, we reload the page when the user
// changes the composition mode to avoid Javascript errors.
// changes the composition mode to avoid Javascript errors.
var saveAndReload = confirm(labels["composeMessageChanged"]);
if (saveAndReload)
return savePreferences();
@@ -243,17 +243,14 @@ function onComposeMessagesTypeChange(event) {
// HTML mode
CKEDITOR.replace('signature',
{
skin: "v2",
resizable: CKEDITOR.DIALOG_RESIZE_NONE,
height: "290px",
toolbar :
height: "290px",
toolbar :
[['Bold', 'Italic', '-', 'Link',
'Font','FontSize','-','TextColor',
'BGColor']
]
}
);
CKEDITOR.config.disableObjectResizing = true;
}
}