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

raeburn raeburn at source.lon-capa.org
Tue Dec 11 17:55:28 EST 2012


raeburn		Tue Dec 11 22:55:28 2012 EDT

  Modified files:              
    /loncom/interface	domainprefs.pm 
  Log:
  - Remove superfluous code.  
  
  
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.175 loncom/interface/domainprefs.pm:1.176
--- loncom/interface/domainprefs.pm:1.175	Fri Dec  7 16:16:30 2012
+++ loncom/interface/domainprefs.pm	Tue Dec 11 22:55:27 2012
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set domain-wide configuration settings
 #
-# $Id: domainprefs.pm,v 1.175 2012/12/07 16:16:30 bisitz Exp $
+# $Id: domainprefs.pm,v 1.176 2012/12/11 22:55:27 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1190,10 +1190,7 @@
         $images,$bgs,$links,$alt_text,$rowtotal,$logintext) = @_;
     my $londocroot = $Apache::lonnet::perlvar{'lonDocRoot'};
     my $css_class = $itemcount%2?' class="LC_odd_row"':'';
-    my $js = "<script type='text/javascript'>\n";
-    $js   .= &Apache::lonhtmlcommon::color_picker();
-    my $js = "\n</script>\n";
-    my $datatable = $js .  '<tr'.$css_class.'>'.
+    my $datatable = '<tr'.$css_class.'>'.
         '<td>'.$choices->{'font'}.'</td>';
     if (!$is_custom->{'font'}) {
         $datatable .=  '<td>'.&mt('Default in use:').' <span id="css_default_'.$role.'_font" style="color: '.$defaults->{'font'}.';">'.$defaults->{'font'}.'</span></td>';




More information about the LON-CAPA-cvs mailing list