Added feature setting for auto-save, defaulting to enabled.

This commit is contained in:
Andrew Manning
2018-04-08 19:44:21 -04:00
parent 4760dc9bcb
commit f9ec3c66ff
6 changed files with 68 additions and 36 deletions

View File

@@ -350,6 +350,15 @@ function get_features($filtered = true) {
feature_level('suppress_duplicates',1),
],
[
'auto_save_draft',
t('Auto-save drafts of posts and comments'),
t('Automatically saves post and comment drafts in local browser storage to help prevent accidental loss of compositions'),
true,
get_config('feature_lock','auto_save_draft'),
feature_level('auto_save_draft',1),
],
],
// Network Tools