mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-11 18:01:23 +00:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user