Author: ralfbecker
New Revision: 55838
URL: http://svn.stylite.de/viewvc/egroupware?rev=55838&view=rev
Log:
hide spellchecker config and always use browser native spellchecker
Modified:
trunk/admin/templates/default/config.xet
trunk/egroupware/api/src/Html/CkEditorConfig.php
trunk/setup/templates/default/config.tpl
— trunk/admin/templates/default/config.xet (original)
+++ trunk/admin/templates/default/config.xet Mon Apr 25 22:14:47 2016
@@ -70,6 +70,7 @@
@@ -79,7 +80,7 @@
{Yes, use browser based spell checking engine} - {more secure}
Yes, use WebSpellChecker
@@ -91,7 +92,7 @@
— trunk/egroupware/api/src/Html/CkEditorConfig.php (original)
+++ trunk/egroupware/api/src/Html/CkEditorConfig.php Mon Apr 25 22:14:47 2016
@@ -319,6 +319,13 @@
private static function add_spellchecker_options(&$config, &$spellchecker_button, &$scayt_button)
{
//error_log(METHOD.LINE.’ Spellcheck:’.$GLOBALS[‘egw_info’][‘server’][‘enabled_spellcheck’]);
+
-
// currently we only support browser native spellchecker, and always disable Scayt
-
$config['disableNativeSpellChecker'] = false;
-
$config['scayt_autoStartup'] = false;
-
$spellchecker_button = $scayt_button = null;
-
-
/*
if (isset($GLOBALS['egw_info']['server']['enabled_spellcheck']) && $GLOBALS['egw_info']['server']['enabled_spellcheck'])
{
// enable browsers native spellchecker as default, if e.g.: aspell fails
@@ -349,6 +356,7 @@
{
$config[‘scayt_autoStartup’] = false;
}
— trunk/setup/templates/default/config.tpl (original)
+++ trunk/setup/templates/default/config.tpl Mon Apr 25 22:14:47 2016
@@ -75,14 +75,14 @@