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

raeburn raeburn@source.lon-capa.org
Sat, 10 Oct 2009 03:32:47 -0000


raeburn		Sat Oct 10 03:32:47 2009 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  - Bug 6071.
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.894 loncom/interface/loncommon.pm:1.895
--- loncom/interface/loncommon.pm:1.894	Sun Oct  4 17:47:21 2009
+++ loncom/interface/loncommon.pm	Sat Oct 10 03:32:46 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.894 2009/10/04 17:47:21 droeschl Exp $
+# $Id: loncommon.pm,v 1.895 2009/10/10 03:32:46 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -493,6 +493,7 @@
     $output .= <<"ENDSTDBRW";
     function opencrsbrowser(formname,uname,udom,desc,extra_element,multflag,crstype) {
         var url = '/adm/pickcourse?';
+        var formid = getFormIdByName(formname);
         var domainfilter = getDomainFromSelectbox(formname,udom);
         if (domainfilter != null) {
            if (domainfilter != '') {