diff options
author | git-marijus <mario@mariovavti.com> | 2018-04-09 13:18:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-09 13:18:09 +0200 |
commit | 9dc831f1ef5e59a91eeda2756842b7ac262e1ac6 (patch) | |
tree | 08faa8318ab53966279b6de5f3fb51dd595f6aac /include/features.php | |
parent | 6844d7c752a0d8614aa7490287d72a84a95b3a73 (diff) | |
parent | f9ec3c66ff1305ca0647454d27793ac5365f7f4a (diff) | |
download | volse-hubzilla-9dc831f1ef5e59a91eeda2756842b7ac262e1ac6.tar.gz volse-hubzilla-9dc831f1ef5e59a91eeda2756842b7ac262e1ac6.tar.bz2 volse-hubzilla-9dc831f1ef5e59a91eeda2756842b7ac262e1ac6.zip |
Merge pull request #1051 from anaqreon/auto-save
Auto-save comment and post text
Diffstat (limited to 'include/features.php')
-rw-r--r-- | include/features.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/features.php b/include/features.php index 57a6f7310..c865f6754 100644 --- a/include/features.php +++ b/include/features.php @@ -350,6 +350,15 @@ function get_features($filtered = true, $level = (-1)) { 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 |