Do not continue on checking mail filemode if there's no attachments data

This commit is contained in:
Hadi Nategh 2022-10-14 15:18:56 +02:00
parent bc9e252da9
commit 60190338d5

View File

@ -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');