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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Dec 1 11:13:04 EST 2009


Author: verenadiewald
Date: 2009-12-01 11:13:04 -0500 (Tue, 01 Dec 2009)
New Revision: 5057

Modified:
   trunk/mapbender/http/javascripts/mod_digitize_tab.php
Log:
success message is only logged, not alerted

Modified: trunk/mapbender/http/javascripts/mod_digitize_tab.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_digitize_tab.php	2009-12-01 16:04:35 UTC (rev 5056)
+++ trunk/mapbender/http/javascripts/mod_digitize_tab.php	2009-12-01 16:13:04 UTC (rev 5057)
@@ -2297,11 +2297,21 @@
 	executeDigitizeSubFunctions();
 
 	if (typeof(wfsWindow) != 'undefined' && !wfsWindow.closed) {
-		wfsWindow.alert(wfsWriteMessage);
+		if (status !== "success" || !success) {
+			wfsWindow.alert(wfsWriteMessage);
+		}
+		else {
+			new parent.Mb_notice(wfsWriteMessage);
+		}
 		window.setTimeout("wfsWindow.close()",0);
 	}
 	else {
-		alert(wfsWriteMessage);
+		if (status !== "success" || !success) {
+			alert(wfsWriteMessage);
+		}
+		else {
+			new parent.Mb_notice(wfsWriteMessage);
+		}
 	}
 }
 function getMultiGeometryIdsByPlacemarkId (placemarkId) {



More information about the Mapbender_commits mailing list