summaryrefslogtreecommitdiff
path: root/skins/default/functions.js
diff options
context:
space:
mode:
Diffstat (limited to 'skins/default/functions.js')
-rw-r--r--skins/default/functions.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/skins/default/functions.js b/skins/default/functions.js
index c1dd8c2ab..9057d97c4 100644
--- a/skins/default/functions.js
+++ b/skins/default/functions.js
@@ -148,6 +148,13 @@ dragmessagemenu: function(show)
this.popups.dragmessagemenu.obj[show?'show':'hide']();
},
+forwardmenu: function(show)
+{
+ $("input[name='forwardtype'][value="+(rcmail.env.forward_attachment ? 1 : 0)+"]", this.popups.forwardmenu.obj)
+ .prop('checked', true);
+ this.show_popupmenu('forwardmenu', show);
+},
+
uploadmenu: function(show)
{
if (typeof show == 'object') // called as event handler