|Version 4 (modified by hasienda, 4 years ago) (diff)|
Data Saver Plugin
Prevents unsaved form data loss by providing a restore button to
the meta-navigation bar context-navigation .
If you have any issues, check existing bugs and feature requests for DataSaverPlugin
and take care of closed tickets as well.
In case this is a new issue, you're welcome to create a new ticket.
Patches welcome in favor of complete files, in case you have already developed some better code. Include version, if patch is not against current stable release or trunk development version.
Download the zipped source from here.
Do your normal Trac plugin install. If you are taking the install-into-Python route, add to your trac.ini:
[components] datasaver.* = enabled
Suppose you write a lengthy wiki page, but accidentally 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.
-  by hasienda on 2014-01-09 00:44:29
-  by hasienda on 2014-01-07 01:08:52
DataSaverPlugin: Break the 4 kB storage limit for browser cookies, refs #11474.
-  by hasienda on 2011-10-07 23:40:16
DataSaverPlugin: Make sure to always include a 'locale' dir in zipped plugins, refs #9249.
Just some improved i18n code missing for this plugin, done elsewhere before.