--- loncom/homework/inputtags.pm 2015/02/21 21:53:34 1.330 +++ loncom/homework/inputtags.pm 2015/03/17 12:22:20 1.332 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # input definitons # -# $Id: inputtags.pm,v 1.330 2015/02/21 21:53:34 raeburn Exp $ +# $Id: inputtags.pm,v 1.332 2015/03/17 12:22:20 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -464,12 +464,11 @@ sub start_textline { $name = "none"; } $result.= ''; + . ' class="LC_textline spellchecked" size="'.$size.'"'.$maxlength.' />'; $result .= &spellcheck_onblur($itemid, $spellcheck); } @@ -1787,7 +1786,7 @@ sub previous_tries { {$1 $txt_correct. $3}s; } my $trystr = "(".&mt('Try [_1]',$Apache::lonhomework::history{"$prefix.tries"}).")"; - if (($curr_rndseed || $lastrndseed) && ($i > 1)) { + if (($curr_rndseed ne '') && ($lastrndseed ne '')) { if ($curr_rndseed ne $lastrndseed) { $trystr .= '
'.&mt('New problem variation this try.').''; }