Changeset 3620 in subversion


Ignore:
Timestamp:
May 15, 2010 8:15:58 AM (3 years ago)
Author:
alec
Message:
  • remove offline message list generation on IE, this doesn't realy improve performance now
Location:
trunk/roundcubemail/program
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/js/app.js

    r3619 r3620  
    16911691  }; 
    16921692 
    1693   // messages list handling in background (for performance) 
    1694   this.offline_message_list = function(flag) 
    1695   { 
    1696     if (this.message_list) 
    1697           this.message_list.set_background_mode(flag); 
    1698   }; 
    1699  
    17001693  this.set_list_sorting = function(sort_col, sort_order) 
    17011694  { 
  • trunk/roundcubemail/program/steps/mail/check_recent.inc

    r3612 r3620  
    7373            $a_headers = $IMAP->list_headers($mbox_name, null, $_SESSION['sort_col'], $_SESSION['sort_order']); 
    7474            // add message rows 
    75             rcmail_js_message_list($a_headers, false, false); 
     75            rcmail_js_message_list($a_headers, false); 
    7676            // remove messages that don't exists from list selection array 
    7777            $OUTPUT->command('update_selection'); 
  • trunk/roundcubemail/program/steps/mail/func.inc

    r3595 r3620  
    222222 * or to replace the whole list (IE only) 
    223223 */ 
    224 function rcmail_js_message_list($a_headers, $insert_top=FALSE, $replace=TRUE, $head_replace=FALSE) 
     224function rcmail_js_message_list($a_headers, $insert_top=FALSE, $head_replace=FALSE) 
    225225{ 
    226226  global $CONFIG, $IMAP, $OUTPUT; 
     
    251251  if(($key = array_search('flag', $a_show_cols)) !== FALSE) 
    252252    unset($a_show_cols[$key]); 
    253  
    254   if ($OUTPUT->browser->ie && $replace) 
    255     $OUTPUT->command('offline_message_list', true); 
    256253 
    257254  // loop through message headers 
     
    315312      $insert_top); 
    316313    } 
    317  
    318   if ($browser->ie && $replace) 
    319     $OUTPUT->command('offline_message_list', false); 
    320314} 
    321315 
  • trunk/roundcubemail/program/steps/mail/list.inc

    r3596 r3620  
    8484 
    8585// add message rows 
    86 rcmail_js_message_list($a_headers, FALSE, TRUE, (bool) $cols); 
     86rcmail_js_message_list($a_headers, FALSE, (bool) $cols); 
    8787if (isset($a_headers) && count($a_headers)) 
    8888{ 
  • trunk/roundcubemail/program/steps/mail/mark.inc

    r3599 r3620  
    115115            $jump_back ? NULL : $count); 
    116116 
    117         rcmail_js_message_list($a_headers, false, false); 
     117        rcmail_js_message_list($a_headers, false); 
    118118      } 
    119119    } 
  • trunk/roundcubemail/program/steps/mail/move_del.inc

    r3419 r3620  
    129129      $jump_back ? NULL : $count); 
    130130 
    131     rcmail_js_message_list($a_headers, false, false); 
     131    rcmail_js_message_list($a_headers, false); 
    132132  } 
    133133} 
Note: See TracChangeset for help on using the changeset viewer.