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

raeburn lon-capa-cvs@mail.lon-capa.org
Mon, 19 Jul 2004 20:01:56 -0000


raeburn		Mon Jul 19 16:01:56 2004 EDT

  Modified files:              
    /loncom/interface	lonsupportreq.pm 
  Log:
  Remove debugging print to STDERR calls.
  Work-in-progress on implementing javascript-driven mutually-dependent select boxes to offer choice of year, semester, department, course number, and section. 
  
  
Index: loncom/interface/lonsupportreq.pm
diff -u loncom/interface/lonsupportreq.pm:1.6 loncom/interface/lonsupportreq.pm:1.7
--- loncom/interface/lonsupportreq.pm:1.6	Mon Jul 19 12:35:12 2004
+++ loncom/interface/lonsupportreq.pm	Mon Jul 19 16:01:56 2004
@@ -737,7 +737,6 @@
             }
             $$idlist{$$codetitles[0]} = join('","',@contents);
             $$idnums{$$codetitles[0]} = scalar(@contents);
-            print STDERR "idnums for {$$codetitles[0] is $$idnums{$$codetitles[0]}\n";
             if (defined($$cat_titles{$$codetitles[0]})) {
                 $$idlist_titles{$$codetitles[0]} = join('","',@contents_titles);
             }
@@ -755,7 +754,6 @@
                 }
                 $$idlist{$$codetitles[1]}{$key_a} = join('","',@sorted_a);
                 $$idnums{$$codetitles[1]}{$key_a} = scalar(@sorted_a);
-                print STDERR "idnums for {$$codetitles[1]  and $key_a is $$idnums{$$codetitles[1]}{$key_a}\n";
                 if (defined($$cat_titles{$$codetitles[1]})) {
                     $$idlist_titles{$$codetitles[1]}{$key_a} = join('","',@sorted_a_titles);
                 }
@@ -837,7 +835,6 @@
     if ($num == 0) {
         if (!grep/^$$codes{$cid}{$$codetitles[0]}$/,@{$$idarrays{$$codetitles[0]}}) {
             push @{$$idarrays{$$codetitles[0]}}, $$codes{$cid}{$$codetitles[0]};
-            print STDERR "Adding $$codes{$cid}{$$codetitles[0]} to $$codetitles[0]\n";
         }
     } elsif ($num == 1) {
         if (defined($$idarrays{$$codetitles[1]}{$$codes{$cid}{$$codetitles[0]}})) {