From 0d3cfae3b9f6c65dd34962a71e5da272050c31d7 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Tue, 20 Jul 2010 13:34:53 +0000 Subject: [PATCH] disable SCAYT too (switch autostart off), if you disable spellchecker in admin --- phpgwapi/inc/class.egw_ckeditor_config.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/phpgwapi/inc/class.egw_ckeditor_config.inc.php b/phpgwapi/inc/class.egw_ckeditor_config.inc.php index f36595e111..db74364031 100644 --- a/phpgwapi/inc/class.egw_ckeditor_config.inc.php +++ b/phpgwapi/inc/class.egw_ckeditor_config.inc.php @@ -187,6 +187,10 @@ class egw_ckeditor_config $config['scayt_sLang'] = self::get_lang().'_'.self::get_country(); } } + else + { + $config['scayt_autoStartup'] = false; + } } /**