Ignore:
Timestamp:
Mar 9, 2010 7:15:35 AM (3 years ago)
Author:
alec
Message:
  • messages list performance: build subject link on client side
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/steps/mail/func.inc

    r3342 r3343  
    441441      else if ($col=='subject') 
    442442        { 
    443         $action = $mbox==$CONFIG['drafts_mbox'] ? 'compose' : 'show'; 
    444         $uid_param = $mbox==$CONFIG['drafts_mbox'] ? '_draft_uid' : '_uid'; 
    445443        $cont = abbreviate_string(trim($IMAP->decode_header($header->$col)), 160); 
    446444        if (!$cont) $cont = rcube_label('nosubject'); 
    447         $cont = $browser->ie ? Q($cont) : sprintf('<a href="%s" onclick="return rcube_event.cancel(event)">%s</a>', Q(rcmail_url($action, array($uid_param=>$header->uid, '_mbox'=>$mbox))), Q($cont)); 
     445        $cont = Q($cont); 
     446        $a_msg_cols['mbox'] = $mbox; 
    448447        } 
    449448      else if ($col=='size') 
Note: See TracChangeset for help on using the changeset viewer.