From 1966c53255495890dd7f25c31bac73d97ecc3291 Mon Sep 17 00:00:00 2001 From: svncommit <devs@roundcube.net> Date: Mon, 19 Jun 2006 15:04:51 -0400 Subject: [PATCH] Added Drafts support (Feature #1326839) (richs) --- skins/default/templates/compose.html | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/skins/default/templates/compose.html b/skins/default/templates/compose.html index e2f41a0..0544d7a 100644 --- a/skins/default/templates/compose.html +++ b/skins/default/templates/compose.html @@ -20,6 +20,13 @@ return false; } +function rcmail_auto_save() + { + rcmail.command('savedraft','',this); + self.setTimeout('rcmail_auto_save()',300000); + } +self.setTimeout('rcmail_auto_save()',300000); + //--> </script> </head> @@ -36,6 +43,7 @@ <!--<roundcube:button command="contacts" imageAct="/images/buttons/contacts_act.png" imagePas="/images/buttons/contacts_pas.png" width="32" height="32" title="addressbook" />--> <roundcube:button command="spellcheck" imageAct="/images/buttons/spellcheck_act.png" imagePas="/images/buttons/spellcheck_pas.png" width="32" height="32" title="checkspelling" /> <roundcube:button command="add-attachment" imageAct="/images/buttons/attach_act.png" imagePas="/images/buttons/attach_pas.png" width="32" height="32" title="addattachment" /> +<roundcube:button command="savedraft" imageAct="/images/buttons/drafts_act.png" imagePas="/images/buttons/drafts_pas.png" width="32" height="32" title="savemessage" /> <div id="priority-selector"> <roundcube:label name="priority" />: <roundcube:object name="prioritySelector" form="form" /> -- Gitblit v1.9.1