wiki:DataSaverPlugin

Version 1 (modified by Rich Harkins, 15 years ago) (diff)

New hack DataSaverPlugin, created by rharkins

Data Saver Plugin

Notice: This plugin is unmaintained and available for adoption.

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.

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

17318 by rjollos on 2018-12-10 22:39:30
TracDataSaver 3.0dev: Replace deprecated unload

The method is deprecated in jQuery 1.8 and removed in
jQuery 3.0.

Patch by clemens.

Fixes #13509.

17317 by rjollos on 2018-12-10 22:32:20
TracDataSaver 3.0dev: Require Trac >= 1.0

Changed plugin name in preparation for publishing to PyPI.
Remove old plugin using pip before installing new plugin:

$ pip uninstall DataSaverPlugin

Refs #13509

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

Fixes #12785.

(more)

Author/Contributors

Author: rharkins
Contributors: