From 22c6b5b6a0ad6b831678caa29ed50d16b4f5e8bd Mon Sep 17 00:00:00 2001 From: alecpl Date: Fri, 24 Sep 2010 07:17:46 +0000 Subject: - Fix: save-prefs action is now in utils task --- skins/default/functions.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'skins/default') diff --git a/skins/default/functions.js b/skins/default/functions.js index 45c47c605..c69a3cfcc 100644 --- a/skins/default/functions.js +++ b/skins/default/functions.js @@ -268,7 +268,6 @@ switch_preview_pane: function(elem) if (uid = rcmail.message_list.get_single_selection()) rcmail.show_message(uid, false, true); - rcmail.http_post('save-pref', '_name=preview_pane&_value=1'); } else { prev_frm.hide(); @@ -287,8 +286,8 @@ switch_preview_pane: function(elem) rcmail.env.contentframe = null; rcmail.show_contentframe(false); - rcmail.http_post('save-pref', '_name=preview_pane&_value=0'); } + rcmail.http_post('utils/save-pref', '_name=preview_pane&_value='+(elem.checked?1:0)); }, /* Message composing */ -- cgit v1.2.3