[Svn] r6062 - in trunk/roundcubemail: . program/include program/steps/mail skins/default skins/larry

trac at roundcube.net trac at roundcube.net
Wed Apr 11 18:03:16 CEST 2012


Author: alec
Date: 2012-04-11 11:03:16 -0500 (Wed, 11 Apr 2012)
New Revision: 6062

Modified:
   trunk/roundcubemail/CHANGELOG
   trunk/roundcubemail/program/include/rcube_json_output.php
   trunk/roundcubemail/program/steps/mail/list.inc
   trunk/roundcubemail/skins/default/mail.css
   trunk/roundcubemail/skins/larry/mail.css
Log:
- Revert r6060, fix #1487822 using css-only


Modified: trunk/roundcubemail/CHANGELOG
===================================================================
--- trunk/roundcubemail/CHANGELOG	2012-04-11 15:32:01 UTC (rev 6061)
+++ trunk/roundcubemail/CHANGELOG	2012-04-11 16:03:16 UTC (rev 6062)
@@ -2,7 +2,7 @@
 ===========================
 
 - Set flexible width to login form fields (#1488418)
-- Force page reload if list columns changed in IE8 (#1487822)
+- Fix re-draw bug on list columns change in IE8 (#1487822)
 - Allow mass-removal of addresses from a group (#1487748)
 - Fix removing all contacts on import to LDAP addressbook
 - Fix so "Back" from compose/show doesn't reset search request (#1488238)

Modified: trunk/roundcubemail/program/include/rcube_json_output.php
===================================================================
--- trunk/roundcubemail/program/include/rcube_json_output.php	2012-04-11 15:32:01 UTC (rev 6061)
+++ trunk/roundcubemail/program/include/rcube_json_output.php	2012-04-11 16:03:16 UTC (rev 6062)
@@ -212,7 +212,7 @@
     public function redirect($p = array(), $delay = 1)
     {
         $location = rcmail::get_instance()->url($p);
-        $this->remote_response(sprintf("window.setTimeout(function(){ %s.redirect('%s',true); }, %d);", JS_OBJECT_NAME, $location, $delay));
+        $this->remote_response("window.setTimeout(\"location.href='{$location}'\", $delay);");
         exit;
     }
 

Modified: trunk/roundcubemail/program/steps/mail/list.inc
===================================================================
--- trunk/roundcubemail/program/steps/mail/list.inc	2012-04-11 15:32:01 UTC (rev 6061)
+++ trunk/roundcubemail/program/steps/mail/list.inc	2012-04-11 16:03:16 UTC (rev 6062)
@@ -51,15 +51,9 @@
   $save_arr['list_cols'] = explode(',', $cols);
 }
 
-if ($save_arr) {
+if ($save_arr)
   $RCMAIL->user->save_prefs($save_arr);
 
-  // force page reload if list columns changed in IE8 (#1487822)
-  if ($save_arr['list_cols'] && $OUTPUT->browser->ie && $OUTPUT->browser->ver == 8) {
-    $OUTPUT->redirect(array('_mbox' => $RCMAIL->storage->get_folder()), 0);
-  }
-}
-
 $mbox_name = $RCMAIL->storage->get_folder();
 $threading = (bool) $RCMAIL->storage->get_threading();
 

Modified: trunk/roundcubemail/skins/default/mail.css
===================================================================
--- trunk/roundcubemail/skins/default/mail.css	2012-04-11 15:32:01 UTC (rev 6061)
+++ trunk/roundcubemail/skins/default/mail.css	2012-04-11 16:03:16 UTC (rev 6062)
@@ -681,6 +681,7 @@
 #messagelist thead tr td.subject
 {
   padding-left: 18px;
+  width: 99%;
 }
 
 #messagelist tbody tr td

Modified: trunk/roundcubemail/skins/larry/mail.css
===================================================================
--- trunk/roundcubemail/skins/larry/mail.css	2012-04-11 15:32:01 UTC (rev 6061)
+++ trunk/roundcubemail/skins/larry/mail.css	2012-04-11 16:03:16 UTC (rev 6062)
@@ -579,6 +579,7 @@
 	width: 26px;
 }
 
+#messagelist thead tr td.subject,
 #messagelist tbody tr td.subject {
 	width: 99%;
 	white-space: nowrap;



More information about the svn mailing list