diff --git a/etemplate/js/etemplate2.js b/etemplate/js/etemplate2.js index 76df97b102..2b8eec82ca 100644 --- a/etemplate/js/etemplate2.js +++ b/etemplate/js/etemplate2.js @@ -962,6 +962,8 @@ etemplate2.print = function(_app) // Wait for everything to be loaded, then send it off jQuery.when.apply(jQuery, deferred).done(function() { egw.window.print(); + }).fail(function() { + afterPrint(); }); }