version 1.16, 2006/03/24 21:40:11
|
version 1.17, 2006/07/03 13:40:42
|
Line 71 sub textsection {
|
Line 71 sub textsection {
|
$output.=$word; |
$output.=$word; |
} else { |
} else { |
my $suggestions=join(' ',$speller->suggest($word)); |
my $suggestions=join(' ',$speller->suggest($word)); |
$suggestions = "<script>alert('sug')</script>".$suggestions; |
|
$suggestions = &Apache::loncommon::js_ready($suggestions); |
$suggestions = &Apache::loncommon::js_ready($suggestions); |
if (($suggestions) && (!$insidelink)) { |
if (($suggestions) && (!$insidelink)) { |
my $start_page= |
my $start_page= |