[LON-CAPA-cvs] cvs: loncom /interface londocs.pm

raeburn raeburn at source.lon-capa.org
Thu Mar 23 18:54:38 EDT 2023


raeburn		Thu Mar 23 22:54:38 2023 EDT

  Modified files:              
    /loncom/interface	londocs.pm 
  Log:
  - "In course" authoring.
   - Display form items and "Create problem" button when location selected
     is "Course Resource" and no subdirectories exist currently.
  
  
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.696 loncom/interface/londocs.pm:1.697
--- loncom/interface/londocs.pm:1.696	Thu Mar 23 16:45:50 2023
+++ loncom/interface/londocs.pm	Thu Mar 23 22:54:38 2023
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.696 2023/03/23 16:45:50 raeburn Exp $
+# $Id: londocs.pm,v 1.697 2023/03/23 22:54:38 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -8046,6 +8046,9 @@
                                 selelem.options[selelem.options.length] = new Option(data.dirs[j],data.dirs[j]);
                             }
                             selelem.selectedIndex = 0;
+                            if (len == 1) {
+                                toggleCrsResTitle();
+                            }
                         }
                     }
                 }




More information about the LON-CAPA-cvs mailing list