(js) Fix mail draft autosave in preferences

Fixes #3519
This commit is contained in:
Francis Lachapelle committed 2016-02-11 11:41:09 -05:00
1 parent d7b010526b
commit c8ea2000d8
3 files changed
+6 -1

No files matched your search

@@ -23,6 +23,9 @@
data.SOGoMailLabelsColors = labels;
// Mail editor autosave is a number of minutes or 0 if disabled
data.SOGoMailAutoSave = parseInt(data.SOGoMailAutoSave) || 0;
// We convert our list of autoReplyEmailAddresses/forwardAddress into a string.
// We also convert our date objects into real date, otherwise we'll have strings
// or undefined values and the md-datepicker does NOT like this.