* *eMail: work around losing focus for IE10, on message view, when on single BrowserInstance

This commit is contained in:
Klaus Leithoff 2013-03-07 15:50:14 +00:00
parent 1f2609b4fc
commit e7252ad770

View File

@ -1120,11 +1120,14 @@ function fm_readMessage(_url, _windowName, _node) {
// Mark the message as read // Mark the message as read
fm_msg_removeClass(windowArray[1], 'unseen'); fm_msg_removeClass(windowArray[1], 'unseen');
fm_msg_removeClass(windowArray[1], 'recent'); fm_msg_removeClass(windowArray[1], 'recent');
egw_appWindow('felamimail').focus();
} }
}, felamimail_rm_timeout); }, felamimail_rm_timeout);
} }
egw_appWindow('felamimail').focus();
} else { } else {
egw_appWindow('felamimail').focus();
window.setTimeout(function() { window.setTimeout(function() {
//alert('Height:'+egw_getWindowOuterHeight()); //alert('Height:'+egw_getWindowOuterHeight());
if (!felamimail_abortView) { if (!felamimail_abortView) {