summaryrefslogtreecommitdiff
path: root/skins/default/templates
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2006-06-19 19:04:51 +0000
committersvncommit <devs@roundcube.net>2006-06-19 19:04:51 +0000
commit1966c53255495890dd7f25c31bac73d97ecc3291 (patch)
tree74a1b59404e91f63812da1499a6446ecdeada6a5 /skins/default/templates
parenta8435bdd12437c5b655859d2ad194832921fcd0d (diff)
Added Drafts support (Feature #1326839) (richs)
Diffstat (limited to 'skins/default/templates')
-rw-r--r--skins/default/templates/compose.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/skins/default/templates/compose.html b/skins/default/templates/compose.html
index e2f41a007..0544d7ab6 100644
--- a/skins/default/templates/compose.html
+++ b/skins/default/templates/compose.html
@@ -20,6 +20,13 @@ function rcmail_toggle_display(id)
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 @@ function rcmail_toggle_display(id)
<!--<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" />:&nbsp;<roundcube:object name="prioritySelector" form="form" />