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

trac at roundcube.net trac at roundcube.net
Fri Jun 18 23:13:07 CEST 2010


Author: alec
Date: 2010-06-18 16:13:07 -0500 (Fri, 18 Jun 2010)
New Revision: 3769

Modified:
   trunk/roundcubemail/skins/default/functions.js
Log:
- Added hack for Opera browser in preview pane switcher


Modified: trunk/roundcubemail/skins/default/functions.js
===================================================================
--- trunk/roundcubemail/skins/default/functions.js	2010-06-18 20:44:27 UTC (rev 3768)
+++ trunk/roundcubemail/skins/default/functions.js	2010-06-18 21:13:07 UTC (rev 3769)
@@ -336,23 +336,34 @@
     if (mailviewsplit.layer) {
       mailviewsplit.resize();
       mailviewsplit.layer.elm.style.display = '';
-    } else
+    }
+    else
       mailviewsplit.init();
+
+    if (bw.opera) {
+      $('#messagelistcontainer').css({height: ''});
+    }
     prev_frm.show();
+
     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 {
+  }
+  else {
     prev_frm.hide();
     if (bw.ie6 || bw.ie7) {
       var fr = document.getElementById('mailcontframe');
       fr.style.bottom = 0;
-      fr.style.height = parseInt(fr.parentNode.offsetHeight)+'px';  
+      fr.style.height = parseInt(fr.parentNode.offsetHeight)+'px';
     }
-    else
+    else {
       $('#mailcontframe').css({height: 'auto', bottom: 0});
+      if (bw.opera)
+        $('#messagelistcontainer').css({height: 'auto'});
+    }
     if (mailviewsplit.layer)
       mailviewsplit.layer.elm.style.display = 'none';
+
     rcmail.env.contentframe = null;
     rcmail.show_contentframe(false);
     rcmail.http_post('save-pref', '_name=preview_pane&_value=0');

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



More information about the Svn mailing list