[Mapbender-commits] r5528 - trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Feb 19 10:27:18 EST 2010


Author: christoph
Date: 2010-02-19 10:27:17 -0500 (Fri, 19 Feb 2010)
New Revision: 5528

Modified:
   trunk/mapbender/http/javascripts/mod_digitize_tab.php
Log:


Modified: trunk/mapbender/http/javascripts/mod_digitize_tab.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_digitize_tab.php	2010-02-19 14:37:45 UTC (rev 5527)
+++ trunk/mapbender/http/javascripts/mod_digitize_tab.php	2010-02-19 15:27:17 UTC (rev 5528)
@@ -2376,7 +2376,7 @@
 	if (proceed) {
 		var fid = false;
 		var errorMessage = "";
-		if (typeof(wfsWindow) != 'undefined' && !wfsWindow.closed) {
+		if (typeof(wfsWindow) != 'undefined' && !wfsWindow.closed && (type === "insert" || type === "update")) {
 			myform = wfsWindow.document.getElementById(featureTypeElementFormId);
 		
 			for (var i=0; i<myform.length; i++){



More information about the Mapbender_commits mailing list