Skip to content

Commit

Permalink
- Fix: save-prefs action is now in utils task
Browse files Browse the repository at this point in the history
  • Loading branch information
alecpl committed Sep 24, 2010
1 parent cb2bc80 commit 22c6b5b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions skins/default/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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 */
Expand Down

0 comments on commit 22c6b5b

Please sign in to comment.