Auto-save post and comment entry using localStorage in browser.

This commit is contained in:
Andrew Manning
2018-04-08 14:18:10 -04:00
parent be6dcb5d0a
commit 43cafcc761
5 changed files with 88 additions and 48 deletions

View File

@@ -1051,10 +1051,6 @@ class Item extends \Zotlabs\Web\Controller {
logger('post_complete');
// Remove auto-saved post text if the post was successfully posted
del_pconfig(local_channel(),'autosavetext_post','body');
del_pconfig(local_channel(),'autosavetext_post','title');
if($moderated) {
info(t('Your comment is awaiting approval.') . EOL);
}