summaryrefslogtreecommitdiff
path: root/lib/exe/js.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2007-11-23 13:58:40 +0100
committerAndreas Gohr <andi@splitbrain.org>2007-11-23 13:58:40 +0100
commitae112d8c54bbccff31a9c9bd59ef9b3db8a70582 (patch)
tree06bd4f197702bf3d557898059299a70c691baf4d /lib/exe/js.php
parentffb3531a64367fc1ea179fddab045672312a3072 (diff)
downloadrpg-ae112d8c54bbccff31a9c9bd59ef9b3db8a70582.tar.gz
rpg-ae112d8c54bbccff31a9c9bd59ef9b3db8a70582.tar.bz2
Spellchecker removed
With spell checkers available in all modern browsers, having a spell checker in DokuWiki's core code is no longer necessary. This patch removes the spell checking feature. It will be made available as optional plugin. darcs-hash:20071123125840-7ad00-faf7aa4673421dbb3fad904ba5b46b4927a5176d.gz
Diffstat (limited to 'lib/exe/js.php')
-rw-r--r--lib/exe/js.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/exe/js.php b/lib/exe/js.php
index c4fd81616..ad166da8d 100644
--- a/lib/exe/js.php
+++ b/lib/exe/js.php
@@ -50,9 +50,6 @@ function js_out(){
if($edit){
if($write){
$files[] = DOKU_INC.'lib/scripts/edit.js';
- if($conf['spellchecker']){
- $files[] = DOKU_INC.'lib/scripts/spellcheck.js';
- }
}
$files[] = DOKU_INC.'lib/scripts/media.js';
}
@@ -118,17 +115,6 @@ function js_out(){
// add lock timer
js_runonstart("locktimer.init(".($conf['locktime'] - 60).",'".js_escape($lang['willexpire'])."',".$conf['usedraft'].")");
-
- // load spell checker
- if($conf['spellchecker']){
- js_runonstart("ajax_spell.init('".
- js_escape($lang['spell_start'])."','".
- js_escape($lang['spell_stop'])."','".
- js_escape($lang['spell_wait'])."','".
- js_escape($lang['spell_noerr'])."','".
- js_escape($lang['spell_nosug'])."','".
- js_escape($lang['spell_change'])."')");
- }
}
}