[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /auth lonroles.pm

raeburn raeburn at source.lon-capa.org
Mon Mar 13 23:49:42 EDT 2017


raeburn		Tue Mar 14 03:49:42 2017 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/auth	lonroles.pm 
  Log:
  - For 2.11
    - Backport 1.329
  
  
Index: loncom/auth/lonroles.pm
diff -u loncom/auth/lonroles.pm:1.269.2.32 loncom/auth/lonroles.pm:1.269.2.33
--- loncom/auth/lonroles.pm:1.269.2.32	Mon Mar 13 20:43:13 2017
+++ loncom/auth/lonroles.pm	Tue Mar 14 03:49:42 2017
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # User Roles Screen
 #
-# $Id: lonroles.pm,v 1.269.2.32 2017/03/13 20:43:13 raeburn Exp $
+# $Id: lonroles.pm,v 1.269.2.33 2017/03/14 03:49:42 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1033,9 +1033,11 @@
 # ----------------------------------------------------------------------- Table
 
     if (($numdc > 0) || (($numhelpdesk > 0) && ($numadhoc > 0))) {
-        $r->print(&coursepick_jscript());
-        $r->print(&Apache::loncommon::coursebrowser_javascript().
-                  &Apache::loncommon::authorbrowser_javascript());
+        $r->print(&coursepick_jscript().
+                  &Apache::loncommon::coursebrowser_javascript());
+    }
+    if ($numdc > 0) {
+        $r->print(&Apache::loncommon::authorbrowser_javascript());
     }
 
     unless ((!&Apache::loncommon::show_course()) || ($nochoose) || ($countactive==1)) {




More information about the LON-CAPA-cvs mailing list