[LON-CAPA-cvs] cvs: loncom /interface lonmenu.pm
raeburn
raeburn at source.lon-capa.org
Tue Oct 6 17:28:33 EDT 2020
raeburn Tue Oct 6 21:28:33 2020 EDT
Modified files:
/loncom/interface lonmenu.pm
Log:
- Include current symb in data sent when "Done button" is pushed.
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.502 loncom/interface/lonmenu.pm:1.503
--- loncom/interface/lonmenu.pm:1.502 Tue Feb 18 23:10:53 2020
+++ loncom/interface/lonmenu.pm Tue Oct 6 21:28:33 2020
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Routines to control the menu
#
-# $Id: lonmenu.pm,v 1.502 2020/02/18 23:10:53 raeburn Exp $
+# $Id: lonmenu.pm,v 1.503 2020/10/06 21:28:33 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1909,6 +1909,7 @@
key => 'Key:',
nokey => 'A proctor key is required',
);
+ my $shownsymb = &HTML::Entities::encode(&Apache::lonenc::check_encrypt($env{'request.symb'}));
my $navmap = Apache::lonnavmaps::navmap->new();
my ($missing,$tried) = (0,0);
if (ref($navmap)) {
@@ -1971,6 +1972,7 @@
<form method="post" name="LCdoneButton" action="">
<input type="hidden" name="LC_interval_done" value="" />
<input type="hidden" name="LC_interval_done_proctorpass" value="" />
+ <input type="hidden" name="symb" value="$shownsymb" />
<button id="LC_done-confirm-opener" type="button">$donebuttontext</button>
</form>
@@ -2052,6 +2054,7 @@
<form method="post" name="LCdoneButton" action="">
<input type="hidden" name="LC_interval_done" value="" />
+ <input type="hidden" name="symb" value="$shownsymb" />
<button id="LC_done-confirm-opener" type="button">$donebuttontext</button>
</form>
More information about the LON-CAPA-cvs
mailing list