--- loncom/interface/slotrequest.pm 2006/03/30 04:35:58 1.55
+++ loncom/interface/slotrequest.pm 2006/03/30 05:20:44 1.56
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler for requesting to have slots added to a students record
#
-# $Id: slotrequest.pm,v 1.55 2006/03/30 04:35:58 albertel Exp $
+# $Id: slotrequest.pm,v 1.56 2006/03/30 05:20:44 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1142,14 +1142,15 @@ EDITLINK
Delete
DELETELINK
- my $remove_all=&remove_link($slot,'remove all');
+ my $remove_all=&remove_link($slot,'remove all').'
';
if ($ids ne '') { undef($delete); }
- if ($slots{$slot}{'type'} ne 'schedulable_student') {
+ if ($slots{$slot}{'type'} ne 'schedulable_student'
+ || $ids eq '') {
undef($remove_all);
}
- $r->print("