mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-09 08:25:03 +02:00
Fix nm printing did not properly wait for column selection or rows before trying to print
This commit is contained in:
@ -1307,9 +1307,11 @@ window.fw_base = (function(){ "use strict"; return Class.extend(
|
||||
appWindow.onafterprint = afterPrint;
|
||||
|
||||
// Wait for everything to be loaded, then send it off
|
||||
jQuery.when.apply(jQuery, deferred).done(function() {
|
||||
Promise.all(deferred).then(() =>
|
||||
{
|
||||
appWindow.setTimeout(appWindow.print, 0);
|
||||
}).fail(function() {
|
||||
}).catch(function ()
|
||||
{
|
||||
afterPrint();
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user