mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-01 11:32:44 +00:00
Fixed display of signature editor in preferences
This commit is contained in:
@@ -82,10 +82,6 @@ function savePreferences(sender) {
|
||||
return false;
|
||||
}
|
||||
|
||||
function onAdjustTime(event) {
|
||||
// unconditionally called from skycalendar.html
|
||||
}
|
||||
|
||||
function prototypeIfyFilters() {
|
||||
var newFilters = $([]);
|
||||
for (var i = 0; i < filters.length; i++) {
|
||||
@@ -555,7 +551,7 @@ function onMailIdentitySignatureClick(event) {
|
||||
fields.appendChild(createButton("okBtn", _("OK"),
|
||||
onMailIdentitySignatureOK));
|
||||
fields.appendChild(createButton("cancelBtn", _("Cancel"),
|
||||
disposeDialog.bind(document.body, dialogId)));
|
||||
disposeDialog));
|
||||
var dialog = createDialog(dialogId,
|
||||
_("Signature"),
|
||||
label,
|
||||
@@ -590,13 +586,15 @@ function onMailIdentitySignatureClick(event) {
|
||||
else
|
||||
area.value = "";
|
||||
|
||||
|
||||
dialog.show();
|
||||
$("bgDialogDiv").show();
|
||||
if (CKEDITOR.instances["signature"])
|
||||
if (Prototype.Browser.IE)
|
||||
jQuery('#bgDialogDiv').css('opacity', 0.4);
|
||||
jQuery(dialog).fadeIn('fast', function() {
|
||||
if (CKEDITOR.instances["signature"])
|
||||
focusCKEditor();
|
||||
else
|
||||
area.focus();
|
||||
else
|
||||
area.focus();
|
||||
});
|
||||
Event.stop(event);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user