From 14c908de7817d94f4d7bad7c9a0ff4ebc6e62913 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 29 Jul 2020 15:45:13 +0200 Subject: [PATCH] Do not include egw message in print --- api/js/jsapi/egw_message.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/jsapi/egw_message.js b/api/js/jsapi/egw_message.js index 078cb03b01..7f23d6e793 100644 --- a/api/js/jsapi/egw_message.js +++ b/api/js/jsapi/egw_message.js @@ -67,7 +67,7 @@ egw.extend('message', egw.MODULE_WND_LOCAL, function(_app, _wnd) { var jQuery = _wnd.jQuery; var wrapper = jQuery('.egw_message_wrapper').length > 0 ? jQuery('.egw_message_wrapper') - : jQuery(_wnd.document.createElement('div')).addClass('egw_message_wrapper').css('position', 'absolute'); + : jQuery(_wnd.document.createElement('div')).addClass('egw_message_wrapper noPrint').css('position', 'absolute'); if (_msg && !_type) { if (typeof error_reg_exp == 'undefined') error_reg_exp = new RegExp('(error|'+egw.lang('error')+')', 'i');