From 60190338d5c3cd80b1263a50e26b8aae7dba6657 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 14 Oct 2022 15:18:56 +0200 Subject: [PATCH] Do not continue on checking mail filemode if there's no attachments data --- mail/js/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/mail/js/app.js b/mail/js/app.js index d9562209e9..74bdae129f 100644 --- a/mail/js/app.js +++ b/mail/js/app.js @@ -4967,6 +4967,7 @@ app.classes.mail = AppJS.extend( */ check_sharing_filemode: function(_node, _widget) { + if (this.et2.getArrayMgr('content').getEntry('no_griddata')) return; if (!_widget) _widget = this.et2.getWidgetById('filemode'); var extended_settings = _widget.get_value() != 'attach' && this.egw.app('stylite');