forked from extern/egroupware
allow null as well as undefined for message-type-detection
This commit is contained in:
parent
baf7e2e97a
commit
ddc17e8e0d
@ -65,7 +65,7 @@ egw.extend('message', egw.MODULE_WND_LOCAL, function(_app, _wnd)
|
||||
var framework = _wnd.framework;
|
||||
var jQuery = _wnd.jQuery;
|
||||
|
||||
if (_msg && typeof _type == 'undefined')
|
||||
if (_msg && !_type)
|
||||
{
|
||||
if (typeof error_reg_exp == 'undefined') error_reg_exp = new RegExp('(error|'+egw.lang('error')+')', 'i');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user