[Svn] r3987 - trunk/roundcubemail/skins/default

trac at roundcube.net trac at roundcube.net
Fri Sep 24 09:17:48 CEST 2010


Author: alec
Date: 2010-09-24 02:17:46 -0500 (Fri, 24 Sep 2010)
New Revision: 3987

Modified:
   trunk/roundcubemail/skins/default/functions.js
Log:
- Fix: save-prefs action is now in utils task


Modified: trunk/roundcubemail/skins/default/functions.js
===================================================================
--- trunk/roundcubemail/skins/default/functions.js	2010-09-22 17:38:30 UTC (rev 3986)
+++ trunk/roundcubemail/skins/default/functions.js	2010-09-24 07:17:46 UTC (rev 3987)
@@ -268,7 +268,6 @@
 
     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 @@
 
     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 */

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list