This plugin tries to answer issue #2910 : warning on leaving edited issue page without saving or save issue as draft
Ruby HTML JavaScript CSS
Switch branches/tags
Failed to load latest commit information.
app Fix bug if draft id is not found Dec 28, 2016
assets Adapt plugin to jQuery / Redmine 2.1.0 Sep 26, 2012
config Update es.yml (#29) May 29, 2016
spec Update specs according to new Rspec version and Redmine 3 Jun 1, 2015
.gitignore Initialized empty plugin Jan 2, 2010 Fix README informations Nov 11, 2014
Rakefile Added rake task to prepare tests of the plugin Apr 15, 2010
init.rb Update specs according to new Rspec version and Redmine 3 Jun 1, 2015

Redmine Drafts Plugin

This plugin is an answer to issue #2910 : if you accidentally leave an issue while editing it, and if it's very large, it can drive you crazy to lose everything you typed before. There can be at least 2 approaches to avoid losing data this way :

  • forbid leaving the page with a javascript warning
  • saving drafts periodically so you can find and restore it when you're back on the issue page : this is the method this plugin tries to implement


You can first take a look at general instructions for plugins here.

Then :

  • clone this repository in your plugins/ directory ; if you have a doubt you put it at the good level, you can check you have a plugins/redmine_drafts/init.rb file
  • run the migrations and copy assets, from your redmine root directory with the command : RAILS_ENV=production rake redmine:plugins
  • restart your Redmine instance (depends on how you host it)


If you like this plugin, it's a good idea to contribute :

  • by giving feed back on what is cool, what should be improved
  • by reporting bugs : you can open issues directly on github for the moment
  • by forking it and sending pull request if you have a patch or a feature you want to implement