mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
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