Monday, February 10, 2014

Older Horde Webmail and IE10 Print

Using an older version of Horde Webmail, printing blocked the deployment of IE 10/11.

It appears to me that in IE10/11, the window.onafterprint() function (of Internet Explorer) is not working properly, and fires before printing.



So I added setTimeout

Horde Code:

window.onafterprint = function()
{
 window.close
}

Add setTimeout function.

was window.close();
now setTimeout(function() {  window.close()},500); }

window.onafterprint = function() {
    setTimeout(function() {  window.close()},500);
}

1 comment:

Bill Creswell said...

I'm told that this has been fixed in the most recent update, I have yet to retest.