mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 04:41:41 +02:00
Switch always compose body to plain text for mobile devices, because ATM CKEditor is not compatible enough to support
This commit is contained in:
parent
bf87b6be0e
commit
c9bd20fa1c
@ -244,6 +244,17 @@ class mail_compose
|
|||||||
{
|
{
|
||||||
list($_content['mailaccount'], $_content['mailidentity']) = explode(':', $_content['mailaccount']);
|
list($_content['mailaccount'], $_content['mailidentity']) = explode(':', $_content['mailaccount']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// As CKEditor is not available for mobile devices
|
||||||
|
// we should always switch the compose mimeType to plainText and
|
||||||
|
// disable the html option
|
||||||
|
// TODO: After CKEditor complatibility with all devices, this part needs to be removed
|
||||||
|
if (html::$ua_mobile)
|
||||||
|
{
|
||||||
|
$_content['mimeType'] = 'plain';
|
||||||
|
$readonlys['mimeType'] = true;
|
||||||
|
}
|
||||||
|
|
||||||
//error_log(__METHOD__.__LINE__.array2string($sigPref));
|
//error_log(__METHOD__.__LINE__.array2string($sigPref));
|
||||||
//lang('compose'),lang('from') // needed to be found by translationtools
|
//lang('compose'),lang('from') // needed to be found by translationtools
|
||||||
//error_log(__METHOD__.__LINE__.array2string($_REQUEST).function_backtrace());
|
//error_log(__METHOD__.__LINE__.array2string($_REQUEST).function_backtrace());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user