[Mapbender-commits] r5997 - trunk/mapbender/http/plugins

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Apr 21 11:37:44 EDT 2010


Author: verenadiewald
Date: 2010-04-21 11:37:42 -0400 (Wed, 21 Apr 2010)
New Revision: 5997

Modified:
   trunk/mapbender/http/plugins/mb_resultList_transferToDigitize.js
Log:
check if obj.wfsConf.wfs_transaction is not null

Modified: trunk/mapbender/http/plugins/mb_resultList_transferToDigitize.js
===================================================================
--- trunk/mapbender/http/plugins/mb_resultList_transferToDigitize.js	2010-04-21 14:44:28 UTC (rev 5996)
+++ trunk/mapbender/http/plugins/mb_resultList_transferToDigitize.js	2010-04-21 15:37:42 UTC (rev 5997)
@@ -76,7 +76,7 @@
 		}
 	});	
 	Mapbender.modules[options.target[0]].events.wfsConfSet.register(function (obj) {
-		var isTransactionalGeom = obj.wfsConf.wfs_transaction != "";
+		var isTransactionalGeom = obj.wfsConf.wfs_transaction != "" && obj.wfsConf.wfs_transaction !== null;
 		if (!isTransactionalGeom) {
 			editButton.hide();
 		}



More information about the Mapbender_commits mailing list