summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-09-24 07:17:46 +0000
committeralecpl <alec@alec.pl>2010-09-24 07:17:46 +0000
commit22c6b5b6a0ad6b831678caa29ed50d16b4f5e8bd (patch)
treecd8afe8cf578ba81ddd5ae79b9f385c8fb37f192
parentcb2bc809ef29f349d38c89e202d821e67bb4c947 (diff)
- Fix: save-prefs action is now in utils task
-rw-r--r--skins/default/functions.js3
1 files changed, 1 insertions, 2 deletions
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 */