--- loncom/interface/lonfeedback.pm 2004/06/04 22:54:36 1.93 +++ loncom/interface/lonfeedback.pm 2004/06/12 01:07:10 1.94 @@ -1,7 +1,7 @@ # The LearningOnline Network # Feedback # -# $Id: lonfeedback.pm,v 1.93 2004/06/04 22:54:36 albertel Exp $ +# $Id: lonfeedback.pm,v 1.94 2004/06/12 01:07:10 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -434,7 +434,7 @@ sub list_discussion { Note: in anonymous discussion, your name is visible only to course faculty
Title: 

- +

Attachment (128 KB max size):

@@ -483,6 +483,11 @@ sub mail_screen { } my $latexHelp=&Apache::loncommon::helpLatexCheatsheet(); my $htmlheader=&Apache::lonhtmlcommon::htmlareaheaders(); + my $onsubmit=''; + if ((&Apache::lonhtmlcommon::htmlareabrowser()) && + (!&Apache::lonhtmlcommon::htmlareablocked())) { + $onsubmit='document.mailform.onsubmit();'; + } my $send=&mt('Send'); $r->print(< @@ -526,7 +531,7 @@ $htmlheader } if (rec) { - document.mailform.onsubmit(); + $onsubmit document.mailform.submit(); } else { alert('Please check a feedback type.'); @@ -550,7 +555,7 @@ $quote $latexHelp Title:

-

Attachment (128 KB max size): @@ -562,7 +567,7 @@ Attachment (128 KB max size): ENDDOCUMENT $r->print(&generate_preview_button(). -&Apache::lonhtmlcommon::htmlareaactive(). +&Apache::lonhtmlcommon::htmlareaselectactive('comment'). ''); }