mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-21 13:29:01 +01:00
Make sure the et2 object is there before using it
This commit is contained in:
parent
b96061b27a
commit
e2d278e497
@ -4968,7 +4968,7 @@ app.classes.mail = AppJS.extend(
|
|||||||
*/
|
*/
|
||||||
check_sharing_filemode: function(_node, _widget)
|
check_sharing_filemode: function(_node, _widget)
|
||||||
{
|
{
|
||||||
if (this.et2.getArrayMgr('content').getEntry('no_griddata')) return;
|
if (!this.et2 || this.et2.getArrayMgr('content').getEntry('no_griddata')) return;
|
||||||
if (!_widget) _widget = this.et2.getWidgetById('filemode');
|
if (!_widget) _widget = this.et2.getWidgetById('filemode');
|
||||||
|
|
||||||
var extended_settings = _widget.get_value() != 'attach' && this.egw.app('stylite');
|
var extended_settings = _widget.get_value() != 'attach' && this.egw.app('stylite');
|
||||||
|
Loading…
Reference in New Issue
Block a user