wiki:DataSaverPlugin

Version 2 (modified by anonymous, 8 years ago) (diff)

--

Data Saver Plugin

Description

Prevents unsaved form data loss by providing a restore button to the meta-navigation bar.

Bugs/Feature Requests

Existing bugs and feature requests for DataSaverPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from [download:datasaverplugin here].

Source

You can check out DataSaverPlugin from here using Subversion, or browse the source with Trac.

Installation

Do your normal Trac plugin install. If you are taking the install-into-Python route, add to your trac.ini:

[components]
datasaver.* = enabled

Example

Suppose you write a lengthy wiki page but accidently hit refresh or the back button? You'd be out of luck most of the time. I know I was. But with this hack, a link called "Restore Form" will allow you to retrieve your data from your last save. Any time you navigate away from a form page, the contents will be saved in a cookie and when you return you can simply click "Restore Form" to retrieve it.

Recent Changes

15561 by rjollos on 2016-05-29 09:28:33
2.0dev: Check if js resource exists before adding

Fixes #12785.

15560 by rjollos on 2016-05-29 09:10:43
2.0dev: Replace tab indentation with space

Refs #12785.

13560 by hasienda on 2014-01-09 00:44:29
DataSaverPlugin: Correct new JavaScript function name, refs #11474.
(more)

Author/Contributors

Author: rharkins
Contributors: