summaryrefslogtreecommitdiff
path: root/skins
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-05-16 13:19:46 +0000
committeralecpl <alec@alec.pl>2011-05-16 13:19:46 +0000
commit9b6c82fdc8e0f74a1ca0f838e710c944c5526f65 (patch)
treef87d3fe75a9b59bb506ede61407cc3eb37658633 /skins
parent21461dce77dd67a45a22e361dca4ecaf6c580788 (diff)
- Add extended command for saving prefs
Diffstat (limited to 'skins')
-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 */