Changeset 1121 in subversion


Ignore:
Timestamp:
Feb 20, 2008 8:57:40 AM (5 years ago)
Author:
thomasb
Message:

Mark message read when printing it (#1326452)

File:
1 edited

Legend:

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

    r1120 r1121  
    887887        var uid; 
    888888        if (uid = this.get_single_uid()) 
    889           { 
     889        { 
    890890          ref.printwin = window.open(this.env.comm_path+'&_action=print&_uid='+uid+'&_mbox='+urlencode(this.env.mailbox)+(this.env.safemode ? '&_safe=1' : '')); 
    891891          if (this.printwin) 
     892          { 
    892893            setTimeout(function(){ ref.printwin.focus(); }, 20); 
     894            if (this.env.action != 'show') 
     895              this.toggle_read_status('read', [uid]); 
    893896          } 
     897        } 
    894898        break; 
    895899 
Note: See TracChangeset for help on using the changeset viewer.