[Mapbender-commits] r4254 - branches/2.6/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Jun 26 10:33:57 EDT 2009
Author: astrid_emde
Date: 2009-06-26 10:33:57 -0400 (Fri, 26 Jun 2009)
New Revision: 4254
Modified:
branches/2.6/http/javascripts/mod_digitize_tab.php
Log:
only throught EPSGMismatch Error when the EPSG Code differ
Modified: branches/2.6/http/javascripts/mod_digitize_tab.php
===================================================================
--- branches/2.6/http/javascripts/mod_digitize_tab.php 2009-06-26 14:12:08 UTC (rev 4253)
+++ branches/2.6/http/javascripts/mod_digitize_tab.php 2009-06-26 14:33:57 UTC (rev 4254)
@@ -1744,7 +1744,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