[LON-CAPA-cvs] cvs: loncom /xml scripttag.pm

raeburn raeburn at source.lon-capa.org
Tue Aug 7 10:50:17 EDT 2012


raeburn		Tue Aug  7 14:50:17 2012 EDT

  Modified files:              
    /loncom/xml	scripttag.pm 
  Log:
  - Improve readability of scriptvars in modal window.
  
  
Index: loncom/xml/scripttag.pm
diff -u loncom/xml/scripttag.pm:1.165 loncom/xml/scripttag.pm:1.166
--- loncom/xml/scripttag.pm:1.165	Sun Feb  5 23:00:06 2012
+++ loncom/xml/scripttag.pm	Tue Aug  7 14:50:17 2012
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # <script> definiton
 #
-# $Id: scripttag.pm,v 1.165 2012/02/05 23:00:06 raeburn Exp $
+# $Id: scripttag.pm,v 1.166 2012/08/07 14:50:17 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -109,7 +109,8 @@
 		     $env{'form.counter'},$Apache::lonxml::curdepth);
             &Apache::lonxml::add_script_result(
 	             &Apache::loncommon::modal_adhoc_window($function_name,500,500,
-                            '<pre>'.&Apache::run::dump($target,$safeeval).'</pre>',
+                            '<pre style="background-color:#ffffff;">'.
+                            &Apache::run::dump($target,$safeeval).'</pre>',
                             &mt('Script Vars'))."<br />");
 	}
     } elsif ($target eq "edit" ) {




More information about the LON-CAPA-cvs mailing list