Do not include egw message in print

This commit is contained in:
Hadi Nategh 2020-07-29 15:45:13 +02:00
parent 08acad038c
commit 14c908de78

View File

@ -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');