[Mapbender-commits] r4255 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Jun 26 10:34:50 EDT 2009
Author: astrid_emde
Date: 2009-06-26 10:34:50 -0400 (Fri, 26 Jun 2009)
New Revision: 4255
Modified:
trunk/mapbender/http/javascripts/mod_digitize_tab.php
Log:
only throught EPSGMismatch Error when the EPSG Code differ
Modified: trunk/mapbender/http/javascripts/mod_digitize_tab.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_digitize_tab.php 2009-06-26 14:33:57 UTC (rev 4254)
+++ trunk/mapbender/http/javascripts/mod_digitize_tab.php 2009-06-26 14:34:50 UTC (rev 4255)
@@ -2021,7 +2021,7 @@
var patternString = parent.mb_mapObj[mapObjInd].epsg.toUpperCase();
var pattern = new RegExp(patternString);
- if(myconf['featuretype_srs'].match(pattern) == -1){
+ if(!myconf['featuretype_srs'].match(pattern)){
proceed = confirm(msgObj.errorMessageEpsgMismatch + parent.mb_mapObj[mapObjInd].epsg + " / "+ myconf['featuretype_srs'] + ". Proceed?");
}
if (proceed) {
More information about the Mapbender_commits
mailing list