mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-05 02:19:43 +00:00
New SOGoMailComposeWindow default
This commit is contained in:
@@ -44,6 +44,8 @@
|
||||
// Mail editor autosave is a number of minutes or 0 if disabled
|
||||
data.SOGoMailAutoSave = parseInt(data.SOGoMailAutoSave) || 0;
|
||||
|
||||
data.SOGoMailComposeWindowEnabled = angular.isDefined(data.SOGoMailComposeWindow);
|
||||
|
||||
// Specify a base font size for HTML messages when SOGoMailComposeFontSize is not zero
|
||||
data.SOGoMailComposeFontSizeEnabled = parseInt(data.SOGoMailComposeFontSize) > 0;
|
||||
|
||||
@@ -286,6 +288,10 @@
|
||||
});
|
||||
});
|
||||
|
||||
if (!preferences.defaults.SOGoMailComposeWindowEnabled)
|
||||
delete preferences.defaults.SOGoMailComposeWindow;
|
||||
delete preferences.defaults.SOGoMailComposeWindowEnabled;
|
||||
|
||||
if (!preferences.defaults.SOGoMailComposeFontSizeEnabled)
|
||||
preferences.defaults.SOGoMailComposeFontSize = 0;
|
||||
delete preferences.defaults.SOGoMailComposeFontSizeEnabled;
|
||||
|
||||
Reference in New Issue
Block a user