--- loncom/interface/lonfeedback.pm 2004/07/05 22:54:33 1.98
+++ loncom/interface/lonfeedback.pm 2004/08/31 18:33:44 1.99.2.5
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Feedback
#
-# $Id: lonfeedback.pm,v 1.98 2004/07/05 22:54:33 raeburn Exp $
+# $Id: lonfeedback.pm,v 1.99.2.5 2004/08/31 18:33:44 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -382,7 +382,7 @@ sub list_discussion {
$discussion .= '&previous='.$prevread;
}
$discussion .='">'.&mt('Chronological View').' ';
- }
+ }
if ($newpostsflag) {
if (!$markondisp) {
$discussion .='
'.&mt('Mark new posts as read').' ';
@@ -552,11 +552,6 @@ 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(<
@@ -600,7 +595,9 @@ $htmlheader
}
if (rec) {
- $onsubmit
+ if (typeof(document.mailform.onsubmit)=='function') {
+ document.mailform.onsubmit();
+ }
document.mailform.submit();
} else {
alert('Please check a feedback type.');
@@ -782,6 +779,7 @@ sub fail_redirect {
Sorry, no recipients ...
+ Continue
|