Do not run splitter resize control for mobile theme

This commit is contained in:
Hadi Nategh 2023-02-21 17:55:17 +01:00
parent 3fbd2dcdc8
commit c466a4e9ab

View File

@ -253,7 +253,8 @@ app.classes.mail = AppJS.extend(
// Show vacation notice on load for the current profile (if not called by mail_searchtype_change())
var alreadyrefreshed = this.mail_searchtype_change();
if (!alreadyrefreshed) this.mail_callRefreshVacationNotice();
if (!egwIsMobile())
{
let splitter = this.et2.getWidgetById('mailSplitter');
let composeBtn = this.et2.getWidgetById('button[mailcreate]');
let composeBtnLabel = composeBtn.label;
@ -281,6 +282,7 @@ app.classes.mail = AppJS.extend(
}
});
}
}
break;
case 'mail.display':
var self = this;