[Mapbender-commits] r2079 - branches/2.5/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Feb 11 09:42:42 EST 2008
Author: christoph
Date: 2008-02-11 09:42:41 -0500 (Mon, 11 Feb 2008)
New Revision: 2079
Modified:
branches/2.5/http/javascripts/mod_wfs_gazetteer_client.php
Log:
fixed IE bug
Modified: branches/2.5/http/javascripts/mod_wfs_gazetteer_client.php
===================================================================
--- branches/2.5/http/javascripts/mod_wfs_gazetteer_client.php 2008-02-11 14:16:38 UTC (rev 2078)
+++ branches/2.5/http/javascripts/mod_wfs_gazetteer_client.php 2008-02-11 14:42:41 UTC (rev 2079)
@@ -246,17 +246,12 @@
var selectNode = document.createElement("select");
selectNode.name = "wfs_conf_sel";
var wfsFormNode = document.getElementById("selectWfsConfForm");
- if (parent.ie) {
- selectNode.onchange = function() {
- global_selectedWfsConfId = this.value;
- setWfsInfo();
- appendStyles();
- appendWfsForm();
- };
- }
- else{
- selectNode.setAttribute("onchange", "global_selectedWfsConfId = this.value;setWfsInfo();appendStyles();appendWfsForm();");
- }
+ selectNode.onchange = function() {
+ global_selectedWfsConfId = this.value;
+ setWfsInfo();
+ appendStyles();
+ appendWfsForm();
+ };
var isSelected = false;
for (var wfsConfId in global_wfsConfObj) {
var optionNode = document.createElement("option");
More information about the Mapbender_commits
mailing list