Fix ckeditor shows spellchecker button even if the config is set to "only browser spellchecker -- more safe".

This commit is contained in:
Hadi Nategh 2015-11-17 17:15:07 +00:00
parent 7467f3b855
commit 676a576dbc

View File

@ -321,7 +321,7 @@ class egw_ckeditor_config
// to use browsers native spellchecker, you have to hold CMD/CTRL button on rightclick to
// access the browsers spell correction options
if ($GLOBALS['egw_info']['server']['enabled_spellcheck']!='YesNoSCAYT') $config['disableNativeSpellChecker'] = false;
$spellchecker_button = 'SpellChecker';
if (!empty($GLOBALS['egw_info']['server']['aspell_path']) &&
is_executable($GLOBALS['egw_info']['server']['aspell_path']) &&
($GLOBALS['egw_info']['server']['enabled_spellcheck']!='YesUseWebSpellCheck' &&