X-Git-Url: http://git.home-dn.net/?p=manu%2FRT-Extension-Drafts.git;a=blobdiff_plain;f=lib%2FRT%2FExtension%2FDrafts.pm;h=40f789eaedf8783b32d3aee1e1c8338a1a1f90ea;hp=1ec97353f5c0bdb5c2e641b150613f6ca1db5bd5;hb=refs%2Fheads%2Fmaster;hpb=3efd3a44c64b6682019fbb4c50989b003553ca78 diff --git a/lib/RT/Extension/Drafts.pm b/lib/RT/Extension/Drafts.pm index 1ec9735..40f789e 100644 --- a/lib/RT/Extension/Drafts.pm +++ b/lib/RT/Extension/Drafts.pm @@ -9,11 +9,11 @@ RT::Extension::Drafts - Allow to save/load drafts in ticket replies/comments =head1 VERSION -Version 0.01 +Version 0.04 =cut -our $VERSION = '0.01'; +our $VERSION = '0.04'; =head1 SYNOPSIS @@ -69,7 +69,7 @@ L =head1 COPYRIGHT & LICENSE -Copyright 2008 Emmanuel Lacour, all rights reserved. +Copyright 2011-2018 Emmanuel Lacour, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. @@ -78,4 +78,15 @@ Request Tracker (RT) is Copyright Best Practical Solutions, LLC. =cut +# User overridable options +$RT::Config::META{AutoSaveDraftPeriod} = { + Section => 'Ticket composition', + Overridable => 1, + SortOrder => 20, + Widget => '/Widgets/Form/Integer', + WidgetArguments => { + Description => 'Period (in seconds) to automatically save a response/comment draft' + }, +}; + 1; # End of RT::Extension::Drafts