[LON-CAPA-cvs] cvs: loncom /interface lonhelper.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Tue, 07 Mar 2006 16:10:00 -0000
albertel Tue Mar 7 11:10:00 2006 EDT
Modified files:
/loncom/interface lonhelper.pm
Log:
- allow empty section fo group selections
Index: loncom/interface/lonhelper.pm
diff -u loncom/interface/lonhelper.pm:1.132 loncom/interface/lonhelper.pm:1.133
--- loncom/interface/lonhelper.pm:1.132 Mon Mar 6 18:32:31 2006
+++ loncom/interface/lonhelper.pm Tue Mar 7 11:09:59 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# .helper XML handler to implement the LON-CAPA helper
#
-# $Id: lonhelper.pm,v 1.132 2006/03/06 23:32:31 foxr Exp $
+# $Id: lonhelper.pm,v 1.133 2006/03/07 16:09:59 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3027,6 +3027,7 @@
$paramHash->{'variable'} = $token->[2]{'variable'};
$helper->declareVar($paramHash->{'variable'});
$paramHash->{'multichoice'} = $token->[2]{'multichoice'};
+ $paramHash->{'allowempty'} = $token->[2]{'allowempty'};
if (defined($token->[2]{'nextstate'})) {
$paramHash->{NEXTSTATE} = $token->[2]{'nextstate'};
}
@@ -3099,6 +3100,7 @@
$paramHash->{'variable'} = $token->[2]{'variable'};
$helper->declareVar($paramHash->{'variable'});
$paramHash->{'multichoice'} = $token->[2]{'multichoice'};
+ $paramHash->{'allowempty'} = $token->[2]{'allowempty'};
if (defined($token->[2]{'nextstate'})) {
$paramHash->{NEXTSTATE} = $token->[2]{'nextstate'};
}