From 2e5a6dce8478264ddbe81a03f682055dbeab079c Mon Sep 17 00:00:00 2001 From: andi Date: Wed, 8 Jun 2005 21:47:46 +0200 Subject: fixed JS error when spellchecker is disabled darcs-hash:20050608194746-9977f-7880cc210b55ff5f47b52665c580087f266dd9b2.gz --- inc/html.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'inc') diff --git a/inc/html.php b/inc/html.php index bd34bb609..48881b85b 100644 --- a/inc/html.php +++ b/inc/html.php @@ -913,7 +913,9 @@ function html_edit($text=null,$include='edit'){ //FIXME: include needed? init_locktimer(,''); //initialize spellchecker - ajax_spell.init('','','','',''); + + ajax_spell.init('','','','',''); + document.editform.wikitext.focus(); -- cgit v1.2.3