[open-ils-commits] r8041 - trunk/Open-ILS/src/extras

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Nov 8 10:42:52 EST 2007


Author: dbs
Date: 2007-11-08 10:27:01 -0500 (Thu, 08 Nov 2007)
New Revision: 8041

Modified:
   trunk/Open-ILS/src/extras/org_tree_html_options.pl
Log:
Remove illegal <pre> from within <option> elements
Describe purpose of script a little more accurately


Modified: trunk/Open-ILS/src/extras/org_tree_html_options.pl
===================================================================
--- trunk/Open-ILS/src/extras/org_tree_html_options.pl	2007-11-08 15:20:48 UTC (rev 8040)
+++ trunk/Open-ILS/src/extras/org_tree_html_options.pl	2007-11-08 15:27:01 UTC (rev 8041)
@@ -1,5 +1,5 @@
 #!/usr/bin/perl
-# turns the orgTree and orgTypes into js files
+# turns the orgTree and orgTypes into a static HTML option list
 
 use OpenSRF::AppSession;
 use OpenSRF::System;
@@ -33,7 +33,7 @@
 	my $name = entityize($node->name);
 	my $kids = $node->children;
 
-	print FILE "<option value='$sname'><pre>" . '&#160;&#160;&#160;'x$depth . "</pre>$name</option>\n";
+	print FILE "<option value='$sname'>" . '&#160;&#160;&#160;'x$depth . "$name</option>\n";
 	print_option($_) for (@$kids);
 }
 



More information about the open-ils-commits mailing list