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.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/skins/default/functions.js b/skins/default/functions.js
index 0b94c68f4..c1dd8c2ab 100644
--- a/skins/default/functions.js
+++ b/skins/default/functions.js
@@ -347,7 +347,8 @@ switch_preview_pane: function(elem)
rcmail.env.contentframe = null;
rcmail.show_contentframe(false);
}
- rcmail.http_post('save-pref', '_name=preview_pane&_value='+(elem.checked?1:0));
+
+ rcmail.command('save-pref', {name: 'preview_pane', value: (elem.checked?1:0)});
},
/* Message composing */