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

raeburn raeburn at source.lon-capa.org
Sat May 28 12:25:45 EDT 2022


raeburn		Sat May 28 16:25:45 2022 EDT

  Modified files:              
    /loncom/interface	lonmenu.pm 
  Log:
  - Selection of "Switch role" text in inline menu should not reload page. 
  
  
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.519 loncom/interface/lonmenu.pm:1.520
--- loncom/interface/lonmenu.pm:1.519	Sat May 28 15:55:34 2022
+++ loncom/interface/lonmenu.pm	Sat May 28 16:25:45 2022
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines to control the menu
 #
-# $Id: lonmenu.pm,v 1.519 2022/05/28 15:55:34 raeburn Exp $
+# $Id: lonmenu.pm,v 1.520 2022/05/28 16:25:45 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2699,7 +2699,7 @@
             }
         }
         if (@submenu > 0) {
-            $switcher = &create_submenu('','',&mt('Switch role'),\@submenu);
+            $switcher = &create_submenu('#','',&mt('Switch role'),\@submenu);
         }
     }
     return ($js,$form,$switcher,$has_opa_priv);




More information about the LON-CAPA-cvs mailing list