--- loncom/interface/loncommon.pm 2013/03/20 01:26:15 1.1118 +++ loncom/interface/loncommon.pm 2013/05/10 16:09:58 1.1127 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.1118 2013/03/20 01:26:15 raeburn Exp $ +# $Id: loncommon.pm,v 1.1127 2013/05/10 16:09:58 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2191,7 +2191,7 @@ sub select_level_form { =pod -=item * &select_dom_form($defdom,$name,$includeempty,$showdomdesc,$onchange,$incdoms) +=item * &select_dom_form($defdom,$name,$includeempty,$showdomdesc,$onchange,$incdoms,$excdoms) Returns a string containing a \n"; foreach my $dom (@domains) { + next if ($exclude{$dom}); $selectdomain.="