mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
Disable compose dialog resize for mobile devices
This commit is contained in:
parent
b3689526dd
commit
6c52c48866
@ -3717,6 +3717,13 @@ app.classes.mail = AppJS.extend(
|
||||
*/
|
||||
compose_resizeHandler: function()
|
||||
{
|
||||
// Do not resize compose dialog if it's running on mobile device
|
||||
// in this case user would be able to edit mail body by scrolling down,
|
||||
// which is more convenient on small devices. Also resize mailbody with
|
||||
// ckeditor may causes performance regression, especially on devices with
|
||||
// very limited resources and slow proccessor.
|
||||
if (egwIsMobile()) return;
|
||||
|
||||
var bodyH = egw_getWindowInnerHeight();
|
||||
var textArea = this.et2.getWidgetById('mail_plaintext');
|
||||
var $headerSec = jQuery('.mailComposeHeaderSection');
|
||||
|
Loading…
Reference in New Issue
Block a user