[LON-CAPA-cvs] cvs: rat / lonratedt.pm

www lon-capa-cvs@mail.lon-capa.org
Mon, 24 Jun 2002 14:12:04 -0000


www		Mon Jun 24 10:12:04 2002 EDT

  Modified files:              
    /rat	lonratedt.pm 
  Log:
  SimpleEdit cannot deal with resource parameters. Aborts reading of map if
  parameters are found.
  
  
Index: rat/lonratedt.pm
diff -u rat/lonratedt.pm:1.30 rat/lonratedt.pm:1.31
--- rat/lonratedt.pm:1.30	Tue Jun  4 09:23:54 2002
+++ rat/lonratedt.pm	Mon Jun 24 10:12:04 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Edit Handler for RAT Maps
 #
-# $Id: lonratedt.pm,v 1.30 2002/06/04 13:23:54 www Exp $
+# $Id: lonratedt.pm,v 1.31 2002/06/24 14:12:04 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -67,6 +67,9 @@
         }
         if ($command eq 'objlinks') {
             $links[$number]=$content;
+        }
+        if ($command eq 'objparms') {
+	    return('Map has resource parameters. Use advanced editor.',1);
         }
     }
 # ------------------------------------------------------- Is this a linear map?