From d656f1ca71de0ec88da9ac84987bdeb44e371ccf Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Thu, 07 Sep 2006 14:51:16 -0400
Subject: [PATCH] Made automatic draft saving configurable

---
 config/main.inc.php.dist |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index e536917..c047199 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -195,6 +195,9 @@
  *                                                    'fuzzy_search'  => 0);
  */
 
+// list of configuration option names that need to be available in Javascript.
+$rcmail_config['javascript_config'] = array('read_when_deleted', 'flag_for_deletion');
+
 // try to load host-specific configuration
 $rcmail_config['include_host_config'] = FALSE;
 
@@ -222,9 +225,8 @@
 // default sort order
 $rcmail_config['message_sort_order'] = 'DESC';
 
-// list of configuration option names that need to be available in Javascript.
-$rcmail_config['javascript_config'] = array('read_when_deleted', 'flag_for_deletion');
-
+// save compose message every 300 seconds (5min)
+$rcmail_config['draft_autosave'] = 300;
 
 // end of config file
 ?>

--
Gitblit v1.9.1