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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Jan 28 07:32:29 EST 2010


Author: verenadiewald
Date: 2010-01-28 07:32:28 -0500 (Thu, 28 Jan 2010)
New Revision: 5443

Modified:
   trunk/mapbender/http/javascripts/mod_digitize_tab.php
Log:
added new event afterWfs

Modified: trunk/mapbender/http/javascripts/mod_digitize_tab.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_digitize_tab.php	2010-01-27 14:58:54 UTC (rev 5442)
+++ trunk/mapbender/http/javascripts/mod_digitize_tab.php	2010-01-28 12:32:28 UTC (rev 5443)
@@ -144,7 +144,8 @@
 		beforeInsert: new parent.Mapbender.Event(),
 		openDialog: new parent.Mapbender.Event(),
 		clickDelete: new parent.Mapbender.Event(),
-		geometryInserted: new parent.Mapbender.Event()
+		geometryInserted: new parent.Mapbender.Event(),
+		afterWfs: new parent.Mapbender.Event()
 	};
 
 	eventCloseGeometry.register(function () {
@@ -2478,6 +2479,12 @@
 	else {
 		var wfsWriteMessage = msgObj.messageErrorWfsWrite;
 	} 
+
+	parent.Mapbender.modules[mod_digitize_elName].events.afterWfs.trigger({
+		feature: (type === 'delete') ? null : d.get(m),
+		type: type
+	});
+	
 	parent.mb_execWfsWriteSubFunctions();
 
 	if (updatePointGeometriesInstantly && 



More information about the Mapbender_commits mailing list