forked from extern/egroupware
Infolog: Fix toggle encrypt didn't work with webcomponents
This commit is contained in:
parent
2755d19d2f
commit
b9892687e9
@ -753,7 +753,11 @@ class InfologApp extends EgwApp
|
||||
*/
|
||||
toggleEncrypt(_event, _widget, _node)
|
||||
{
|
||||
if (!this.egw.user('apps').stylite)
|
||||
if(!_node && _widget instanceof HTMLElement)
|
||||
{
|
||||
_node = _widget;
|
||||
}
|
||||
if(!this.egw.user('apps').stylite)
|
||||
{
|
||||
this.egw.message(this.egw.lang('InfoLog encryption requires EPL Subscription')+': <a href="http://www.egroupware.org/EPL">www.egroupware.org/EPL</a>');
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user