From d656f1ca71de0ec88da9ac84987bdeb44e371ccf Mon Sep 17 00:00:00 2001 From: thomascube Date: Thu, 7 Sep 2006 18:51:16 +0000 Subject: Made automatic draft saving configurable --- config/main.inc.php.dist | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'config') diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist index e536917c4..c0471999d 100644 --- a/config/main.inc.php.dist +++ b/config/main.inc.php.dist @@ -195,6 +195,9 @@ $rcmail_config['mail_header_delimiter'] = NULL; * '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 @@ $rcmail_config['message_sort_col'] = 'date'; // 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 ?> -- cgit v1.2.3