[Mapbender-commits] r8005 - branches/2.7/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jul 26 17:27:54 EDT 2011


Author: marc
Date: 2011-07-26 14:27:54 -0700 (Tue, 26 Jul 2011)
New Revision: 8005

Modified:
   branches/2.7/http/javascripts/mod_loadwmc.js
   branches/2.7/http/javascripts/mod_wfs_gazetteer_client.php
Log:
#765

Modified: branches/2.7/http/javascripts/mod_loadwmc.js
===================================================================
--- branches/2.7/http/javascripts/mod_loadwmc.js	2011-07-26 19:08:12 UTC (rev 8004)
+++ branches/2.7/http/javascripts/mod_loadwmc.js	2011-07-26 21:27:54 UTC (rev 8005)
@@ -226,7 +226,7 @@
 			width: 600,
 			height: 500,
 			pos: [600,40]
-		});
+		}).parent().css({position:"absolute"});
 	};
 	
 	this.hideOpenLayers = function () {

Modified: branches/2.7/http/javascripts/mod_wfs_gazetteer_client.php
===================================================================
--- branches/2.7/http/javascripts/mod_wfs_gazetteer_client.php	2011-07-26 19:08:12 UTC (rev 8004)
+++ branches/2.7/http/javascripts/mod_wfs_gazetteer_client.php	2011-07-26 21:27:54 UTC (rev 8005)
@@ -887,7 +887,7 @@
 	var patternString = parent.mb_mapObj[ind].getSRS().toUpperCase();
 	var pattern = new RegExp(patternString);
 
-if(global_wfsConfObj[global_selectedWfsConfId].featuretype_srs.match(pattern) == -1){
+	if(global_wfsConfObj[global_selectedWfsConfId].featuretype_srs.match(pattern) == -1){
 		var msg = '<?php echo _mb("Different EPSG of map and wfs featuretype, no spatial request possible!");?>';
 		msg += parent.mb_mapObj[ind].getSRS()+"  -  "+global_wfsConfObj[global_selectedWfsConfId].featuretype_srs;
 		alert(msg);



More information about the Mapbender_commits mailing list