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

raeburn raeburn at source.lon-capa.org
Sat Nov 11 18:09:23 EST 2023


raeburn		Sat Nov 11 23:09:23 2023 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  - Support domain default or user override for activation or deactivation
    of CodeMirror.
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.1416 loncom/interface/loncommon.pm:1.1417
--- loncom/interface/loncommon.pm:1.1416	Sat Nov 11 18:50:51 2023
+++ loncom/interface/loncommon.pm	Sat Nov 11 23:09:23 2023
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.1416 2023/11/11 18:50:51 raeburn Exp $
+# $Id: loncommon.pm,v 1.1417 2023/11/11 23:09:23 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -6469,7 +6469,10 @@
             $nocodem = 'yes';
         }
     }
-    return $nocodem;
+    if ($nocodem eq 'yes') {
+        return 1;
+    }
+    return;
 }
 
 ###############################################




More information about the LON-CAPA-cvs mailing list