[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface slotrequest.pm

raeburn raeburn at source.lon-capa.org
Sat Mar 7 17:20:23 EST 2020


raeburn		Sat Mar  7 22:20:23 2020 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	slotrequest.pm 
  Log:
  - For 2.11
    Remove call to is_tool() function in lonnavmaps.pm, as it is not in 2.11  
  
  
Index: loncom/interface/slotrequest.pm
diff -u loncom/interface/slotrequest.pm:1.125.2.8 loncom/interface/slotrequest.pm:1.125.2.9
--- loncom/interface/slotrequest.pm:1.125.2.8	Sun Jul  7 22:06:50 2019
+++ loncom/interface/slotrequest.pm	Sat Mar  7 22:20:22 2020
@@ -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.125.2.8 2019/07/07 22:06:50 raeburn Exp $
+# $Id: slotrequest.pm,v 1.125.2.9 2020/03/07 22:20:22 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -962,7 +962,7 @@
     if ($passed_resource->is_map()) {
         my ($a_resource) =
             $navmap->retrieveResources($passed_resource,
-                                       sub {$_[0]->is_problem() || $_[0]->is_tool() },0,1);
+                                       sub {$_[0]->is_problem()},0,1);
         $symb_for_parm = $a_resource->symb();
     }
     # get parameter string, check for existence, rebuild string with the slot




More information about the LON-CAPA-cvs mailing list