diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-05-16 13:19:46 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-05-16 13:19:46 +0000 |
| commit | 2741cd97554aa27cdeeea6a6e565bbb46f522a11 (patch) | |
| tree | 1744cfc9b828af02b5d08a59643770b8a7040306 /roundcubemail/skins | |
| parent | c53519bf27504ea0b82398d64dceaf5c64aa8659 (diff) | |
- Add extended command for saving prefs
git-svn-id: https://svn.roundcube.net/trunk@4774 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/skins')
| -rw-r--r-- | roundcubemail/skins/default/functions.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/roundcubemail/skins/default/functions.js b/roundcubemail/skins/default/functions.js index 0b94c68f4..c1dd8c2ab 100644 --- a/roundcubemail/skins/default/functions.js +++ b/roundcubemail/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 */ |
