[Mapbender-commits] r1726 - branches/mapbender_sld/http/sld/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Oct 12 04:37:10 EDT 2007


Author: mschulz
Date: 2007-10-12 04:37:10 -0400 (Fri, 12 Oct 2007)
New Revision: 1726

Modified:
   branches/mapbender_sld/http/sld/classes/Mark.php
Log:
added onchange event to select tag

Modified: branches/mapbender_sld/http/sld/classes/Mark.php
===================================================================
--- branches/mapbender_sld/http/sld/classes/Mark.php	2007-10-12 08:22:02 UTC (rev 1725)
+++ branches/mapbender_sld/http/sld/classes/Mark.php	2007-10-12 08:37:10 UTC (rev 1726)
@@ -84,7 +84,7 @@
 		$temp .= $offset."  </td>\n";
 		$temp .= $offset."  <td>\n";
 		$temp .= $offset."   WellKnownName:\n";
-		$temp .= $offset."   <select name=\"".$id."_wellknownname\">\n";
+		$temp .= $offset."   <select name=\"".$id."_wellknownname\" onchange=\"document.getElementById('sld_editor_form').submit();\">\n";
 		$temp .= $offset."    <option value=\"square\"";
 		if ($this->wellknownname == "square") $temp .= " selected";
 		$temp .= ">square</option>\n";



More information about the Mapbender_commits mailing list