Changeset 878 in subversion


Ignore:
Timestamp:
Oct 17, 2007 4:03:17 AM (6 years ago)
Author:
robin
Message:

Make sure the _main_ window is focussed (closes #1484138).

File:
1 edited

Legend:

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

    r877 r878  
    204204        this.set_page_buttons(); 
    205205 
    206         // focus this window 
    207         window.focus(); 
     206        // focus main window 
     207        if (this.env.framed && window.parent) 
     208          window.parent.focus(); 
     209        else 
     210          window.focus(); 
    208211 
    209212        // init message compose form 
Note: See TracChangeset for help on using the changeset viewer.